diff options
author | dp <none@none> | 2005-09-30 13:35:28 -0700 |
---|---|---|
committer | dp <none@none> | 2005-09-30 13:35:28 -0700 |
commit | ace1a5f11236a072fca1b5e0ea1416a083a9f2aa (patch) | |
tree | 4b68ee26cde495cc3c647bc0db7b860351014501 /usr/src/lib | |
parent | 47644099886aa8d3f43120b9eede3044342be473 (diff) | |
download | illumos-gate-ace1a5f11236a072fca1b5e0ea1416a083a9f2aa.tar.gz |
6324803 sys_errlist should be expunged where possible
--HG--
rename : usr/src/cmd/oamuser/lib/prerrno.c => usr/src/cmd/oamuser/lib/.del-prerrno.c-Sep-20-05
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/libcrypt/inc/synonyms.h | 4 | ||||
-rw-r--r-- | usr/src/lib/libcurses/screen/synonyms.h | 4 | ||||
-rw-r--r-- | usr/src/lib/libgen/inc/synonyms.h | 4 | ||||
-rw-r--r-- | usr/src/lib/libmail/inc/synonyms.h | 2 | ||||
-rw-r--r-- | usr/src/lib/libnsl/dial/uucp.h | 5 | ||||
-rw-r--r-- | usr/src/lib/libresolv/synonyms.h | 2 |
6 files changed, 3 insertions, 18 deletions
diff --git a/usr/src/lib/libcrypt/inc/synonyms.h b/usr/src/lib/libcrypt/inc/synonyms.h index 8eb72192a7..609c19e9f1 100644 --- a/usr/src/lib/libcrypt/inc/synonyms.h +++ b/usr/src/lib/libcrypt/inc/synonyms.h @@ -24,7 +24,7 @@ /* - * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -372,8 +372,6 @@ extern "C" { #define symlink _symlink #define sync _sync #define sys3b _sys3b -#define sys_errlist _sys_errlist -#define sys_nerr _sys_nerr #define syscall _syscall #define sysconf _sysconf #define sysfs _sysfs diff --git a/usr/src/lib/libcurses/screen/synonyms.h b/usr/src/lib/libcurses/screen/synonyms.h index 51d1e96b31..c3d1229c31 100644 --- a/usr/src/lib/libcurses/screen/synonyms.h +++ b/usr/src/lib/libcurses/screen/synonyms.h @@ -24,7 +24,7 @@ /* - * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -364,8 +364,6 @@ extern "C" { #define symlink _symlink #define sync _sync #define sys3b _sys3b -#define sys_errlist _sys_errlist -#define sys_nerr _sys_nerr #define syscall _syscall #define sysconf _sysconf #define sysfs _sysfs diff --git a/usr/src/lib/libgen/inc/synonyms.h b/usr/src/lib/libgen/inc/synonyms.h index 2d943a16de..1d2450f2f4 100644 --- a/usr/src/lib/libgen/inc/synonyms.h +++ b/usr/src/lib/libgen/inc/synonyms.h @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -396,8 +396,6 @@ extern "C" { #define symlink _symlink #define sync _sync #define sys3b _sys3b -#define sys_errlist _sys_errlist -#define sys_nerr _sys_nerr #define syscall _syscall #define sysconf _sysconf #define sysfs _sysfs diff --git a/usr/src/lib/libmail/inc/synonyms.h b/usr/src/lib/libmail/inc/synonyms.h index a0f7cd54c8..099190faf5 100644 --- a/usr/src/lib/libmail/inc/synonyms.h +++ b/usr/src/lib/libmail/inc/synonyms.h @@ -439,8 +439,6 @@ extern "C" { #define sync _sync #define synchutmp _synchutmp #define syssun _syssun -#define sys_errlist _sys_errlist -#define sys_nerr _sys_nerr #define syscall _syscall #define sysconf _sysconf #define sysfs _sysfs diff --git a/usr/src/lib/libnsl/dial/uucp.h b/usr/src/lib/libnsl/dial/uucp.h index 669168d430..e2ccffe365 100644 --- a/usr/src/lib/libnsl/dial/uucp.h +++ b/usr/src/lib/libnsl/dial/uucp.h @@ -404,15 +404,10 @@ static const char *Spool; static const char *Pubdir; static char Progname[]; static char *Bnptr; /* used when BASENAME macro is expanded */ -extern char *sys_errlist[]; static int Uerror; /* global error code */ static char *UerrorText[]; /* text for error code */ -/* Some global I need for section 2 and section 3 routines */ -extern char *optarg; /* for getopt() */ -extern int optind; /* for getopt() */ - #define UERRORTEXT UerrorText[Uerror] #define UTEXT(x) UerrorText[x] diff --git a/usr/src/lib/libresolv/synonyms.h b/usr/src/lib/libresolv/synonyms.h index 6523a38db7..e1063aec22 100644 --- a/usr/src/lib/libresolv/synonyms.h +++ b/usr/src/lib/libresolv/synonyms.h @@ -423,8 +423,6 @@ extern "C" { #define sync _sync #define synchutmp _synchutmp #define syssun _syssun -#define sys_errlist _sys_errlist -#define sys_nerr _sys_nerr #define syscall _syscall #define sysconf _sysconf #define sysfs _sysfs |