diff options
| author | jtc <jtc@NetBSD.org> | 1994-12-12 22:42:20 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1994-12-12 22:42:20 +0000 |
| commit | 92737ece737eb73f4bcb264e3892700535e94b50 (patch) | |
| tree | e83cc6b51b5e60fded5dc47e3d2d4b9e05a314aa /lib/libc/string | |
| parent | e4db9f8bdab02c7efe55bd6509c9a9cf08199283 (diff) | |
Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/__strerror.c | 7 | ||||
| -rw-r--r-- | lib/libc/string/__strsignal.c | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/string/__strerror.c b/lib/libc/string/__strerror.c index 1bcebeb3ce2..59041de9515 100644 --- a/lib/libc/string/__strerror.c +++ b/lib/libc/string/__strerror.c @@ -33,18 +33,19 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strerror.c 5.6 (Berkeley) 5/4/91";*/ -static char *rcsid = "$Id: __strerror.c,v 1.4 1994/11/18 15:38:32 jtc Exp $"; +static char *rcsid = "$Id: __strerror.c,v 1.5 1994/12/12 22:42:20 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ #ifdef NLS #define catclose _catclose #define catgets _catgets #define catopen _catopen -#define sys_errlist __sys_errlist -#define sys_nerr __sys_nerr #include <nl_types.h> #endif +#define sys_errlist _sys_errlist +#define sys_nerr _sys_nerr + #include <stdio.h> #include <string.h> diff --git a/lib/libc/string/__strsignal.c b/lib/libc/string/__strsignal.c index 44ecda6a83b..697b3482dc8 100644 --- a/lib/libc/string/__strsignal.c +++ b/lib/libc/string/__strsignal.c @@ -33,17 +33,18 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strerror.c 5.6 (Berkeley) 5/4/91";*/ -static char *rcsid = "$Id: __strsignal.c,v 1.6 1994/11/18 15:38:34 jtc Exp $"; +static char *rcsid = "$Id: __strsignal.c,v 1.7 1994/12/12 22:42:22 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ #ifdef NLS #define catclose _catclose #define catgets _catgets #define catopen _catopen -#define sys_siglist __sys_siglist #include <nl_types.h> #endif +#define sys_siglist _sys_siglist + #include <signal.h> #include <string.h> |
