Print this page
remove support for non-ANSI compilation

*** 17,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ #ifndef _NLIST_H #define _NLIST_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.8.2.4 */ - #ifdef __cplusplus extern "C" { #endif struct nlist { --- 17,36 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ #ifndef _NLIST_H #define _NLIST_H #ifdef __cplusplus extern "C" { #endif struct nlist {
*** 39,53 **** unsigned short n_type; /* type and derived type */ char n_sclass; /* storage class */ char n_numaux; /* number of aux. entries */ }; - #if defined(__STDC__) extern int nlist(const char *, struct nlist *); - #else /* __STDC__ */ - extern int nlist(); - #endif /* __STDC__ */ #ifdef __cplusplus } #endif --- 40,50 ----