/[rtmk]/rtmk/rig/be-c.c
ViewVC logotype

Diff of /rtmk/rig/be-c.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by jrydberg, Mon Jan 14 18:44:03 2002 UTC revision 1.6 by jrydberg, Tue Jan 29 18:18:28 2002 UTC
# Line 17  Foundation, Inc., 59 Temple Place - Suit Line 17  Foundation, Inc., 59 Temple Place - Suit
17    
18  #include <stdio.h>  #include <stdio.h>
19  #include <stdlib.h>  #include <stdlib.h>
20    #include <stdbool.h>
21    
22  #include "rig.h"  #include "rig.h"
23  #include "stmt.h"  #include "stmt.h"
# Line 25  Foundation, Inc., 59 Temple Place - Suit Line 26  Foundation, Inc., 59 Temple Place - Suit
26  #include "be-c.h"  #include "be-c.h"
27  #include "queue.h"  #include "queue.h"
28    
29    extern bool weak_p;
30    
31  char *native_types[] = {  char *native_types[] = {
32    "RTMK_MSG_TYPE_INTEGER32",    "RTMK_MSG_TYPE_INTEGER32",
33    "RTMK_MSG_TYPE_CHARACTER",    "RTMK_MSG_TYPE_CHARACTER",
# Line 560  target_write_routine_header (rt) Line 563  target_write_routine_header (rt)
563        
564    output ("%s\n", rt->returntype ?    output ("%s\n", rt->returntype ?
565                     rt->returntype->cname : "void");                     rt->returntype->cname : "void");
566    output ("%s%s (", prefix, rt->cname);    output ("%s%s%s (", weak_p ? "__" : "", prefix, rt->cname);
567        
568    len = start = strlen (rt->cname) + 2;    len = start = strlen (rt->cname) + 2;
569        

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26