diff options
| author | jtc <jtc@NetBSD.org> | 1994-10-06 18:17:52 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1994-10-06 18:17:52 +0000 |
| commit | 76cf6eaace611b86995dc27cefe17f012259dfd5 (patch) | |
| tree | b384fa73c348ac672f57dd9e2d9e627f18119577 /lib/libc/string/__strerror.c | |
| parent | d9c2e7b5903977110eb875ab8b20a9521df22578 (diff) | |
Call internal NLS interfaces: __catopen(), __catgets(), and __catclose().
Diffstat (limited to 'lib/libc/string/__strerror.c')
| -rw-r--r-- | lib/libc/string/__strerror.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/string/__strerror.c b/lib/libc/string/__strerror.c index b637ff0f87e..70b9014470d 100644 --- a/lib/libc/string/__strerror.c +++ b/lib/libc/string/__strerror.c @@ -33,14 +33,18 @@ #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.1 1994/09/03 05:07:51 jtc Exp $"; +static char *rcsid = "$Id: __strerror.c,v 1.2 1994/10/06 18:17:52 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <string.h> #ifdef NLS +#define catclose __catclose +#define catgets __catgets +#define catopen __catopen #include <nl_types.h> #endif +#include <string.h> + /* * Since perror() is not allowed to change the contents of strerror()'s * static buffer, both functions supply their own buffers to the |
