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

Diff of /rtmk/rig/rig.c

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

revision 1.2 by jrydberg, Fri Jan 4 23:56:40 2002 UTC revision 1.3 by jrydberg, Tue Jan 29 18:18:28 2002 UTC
# Line 22  Foundation, Inc., 59 Temple Place - Suit Line 22  Foundation, Inc., 59 Temple Place - Suit
22  #include "getopt.h"  #include "getopt.h"
23  #include <errno.h>  #include <errno.h>
24  #include <stdarg.h>  #include <stdarg.h>
25    #include <stdbool.h>
26    
27  #include <sys/types.h>  #include <sys/types.h>
28  #include <sys/wait.h>  #include <sys/wait.h>
# Line 80  int server = 0, client = 0, header = 0; Line 81  int server = 0, client = 0, header = 0;
81  /* counters: */  /* counters: */
82  int counter_routines = 0;  int counter_routines = 0;
83    
84    bool weak_p = false;
85    
86  /* XXX */  /* XXX */
87  FILE *output_fp;  FILE *output_fp;
88    
# Line 236  main (argc, argv) Line 239  main (argc, argv)
239      { "kernel",   FALSE,  0,  'k' },      { "kernel",   FALSE,  0,  'k' },
240      { "include",  TRUE,   0,  'i' },      { "include",  TRUE,   0,  'i' },
241      { "no-pthread", FALSE,0,  'P' },      { "no-pthread", FALSE,0,  'P' },
242        { "weak",     FALSE,  0,  'W' },
243      { 0,          0,      0,  0 }      { 0,          0,      0,  0 }
244    };    };
245    FILE *fp;    FILE *fp;
# Line 285  main (argc, argv) Line 289  main (argc, argv)
289            output_file = optarg;            output_file = optarg;
290            break;            break;
291    
292            case 'W':
293              weak_p = true;
294              break;
295    
296          case 'p':          case 'p':
297  #if 0  #if 0
298            sprintf (buff, "%s_", optarg);            sprintf (buff, "%s_", optarg);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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