/[hurd]/hurd-l4/wortel/wortel.h
ViewVC logotype

Diff of /hurd-l4/wortel/wortel.h

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

revision 1.2 by marcus, Mon Sep 8 01:41:03 2003 UTC revision 1.3 by marcus, Mon Sep 8 14:40:37 2003 UTC
# Line 22  Line 22 
22  #include "string.h"  #include "string.h"
23  #include "output.h"  #include "output.h"
24  #include "shutdown.h"  #include "shutdown.h"
25    #include "loader.h"
26    
27    
28  #define PROGRAM_NAME    "wortel"  /* The program name.  */
29  #define BUG_ADDRESS     "<bug-hurd@gnu.org>"  extern char *program_name;
   
 /* Print an error message and fail.  */  
 #define panic(...)                              \  
   ({                                            \  
     printf (PROGRAM_NAME ": error: ");          \  
     printf (__VA_ARGS__);                       \  
     putchar ('\n');                             \  
     shutdown ();                                \  
   })  
   
 /* True if debug mode is enabled.  */  
 extern int debug;  
   
 /* Print a debug message.  */  
 #define debug(...) do { if (debug) printf (__VA_ARGS__); } while (0)  
30    
31    #define BUG_ADDRESS     "<bug-hurd@gnu.org>"
32    
33  int main (int argc, char *argv[]);  int main (int argc, char *argv[]);

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