diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-08-22 22:13:36 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-08-22 22:13:36 +0000 |
commit | fa4484104cbbfaa9705492ee22426c46c46ac182 (patch) | |
tree | 7f14183867d68b27aa9be479a4002303c12cce37 /cddl/contrib/opensolaris/head/nlist.h | |
parent | 4ddb46f694a0db537f093297b7d00b46181aa00e (diff) | |
parent | a04032b50f086d6a47f8e444b721a52d737d2217 (diff) | |
download | src-fa4484104cbbfaa9705492ee22426c46c46ac182.tar.gz src-fa4484104cbbfaa9705492ee22426c46c46ac182.zip |
MFV r270197:
Illumos issue:
5066 remove support for non-ANSI compilation
5068 Remove SCCSID() macro from <macros.h>
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=270382
Diffstat (limited to 'cddl/contrib/opensolaris/head/nlist.h')
-rw-r--r-- | cddl/contrib/opensolaris/head/nlist.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cddl/contrib/opensolaris/head/nlist.h b/cddl/contrib/opensolaris/head/nlist.h index ea1bd203bb31..de6be5e18444 100644 --- a/cddl/contrib/opensolaris/head/nlist.h +++ b/cddl/contrib/opensolaris/head/nlist.h @@ -19,6 +19,9 @@ * * CDDL HEADER END */ +/* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ @@ -26,8 +29,6 @@ #ifndef _NLIST_H #define _NLIST_H -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.8.2.4 */ - #ifdef __cplusplus extern "C" { #endif @@ -41,11 +42,7 @@ struct nlist { 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 } |