(1) Make __sputc() inline function invisible to gcc -traditional.
[unix-history] / usr / src / include / nlist.h
index b4e81b1..9d0dce7 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)nlist.h     5.1 (Berkeley) %G%
+ *     @(#)nlist.h     5.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -29,7 +29,7 @@ struct        nlist {
 #define        N_DATA  0x6             /* data */
 #define        N_BSS   0x8             /* bss */
 #define        N_COMM  0x12            /* common (internal to ld) */
 #define        N_DATA  0x6             /* data */
 #define        N_BSS   0x8             /* bss */
 #define        N_COMM  0x12            /* common (internal to ld) */
-#define        N_FN    0x1f            /* file name symbol */
+#define        N_FN    0x1e            /* file name symbol */
 
 #define        N_EXT   01              /* external bit, or'ed in */
 #define        N_TYPE  0x1e            /* mask for all the type bits */
 
 #define        N_EXT   01              /* external bit, or'ed in */
 #define        N_TYPE  0x1e            /* mask for all the type bits */
@@ -44,3 +44,9 @@ struct        nlist {
  * Format for namelist values.
  */
 #define        N_FORMAT        "%08x"
  * Format for namelist values.
  */
 #define        N_FORMAT        "%08x"
+
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+int nlist __P((const char *, struct nlist *));
+__END_DECLS