diff options
author | phantom <phantom@FreeBSD.org> | 2000-09-01 12:10:59 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2000-09-01 12:10:59 +0000 |
commit | 2ae932bdcbb6f7909815a71d2cf99762cf98fb64 (patch) | |
tree | 2ec8364779a22ff0d0030cce6e95e9da62bea744 /lib | |
parent | 3fd2030fc48edebae9203e4245f795543e5cbb66 (diff) | |
download | FreeBSD-src-2ae932bdcbb6f7909815a71d2cf99762cf98fb64.zip FreeBSD-src-2ae932bdcbb6f7909815a71d2cf99762cf98fb64.tar.gz |
Remove unused indirect references to cat* functions.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/nls/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libc/nls/catclose.c | 25 | ||||
-rw-r--r-- | lib/libc/nls/catgets.c | 28 | ||||
-rw-r--r-- | lib/libc/nls/catopen.c | 26 | ||||
-rw-r--r-- | lib/libc/nls/msgcat.c | 6 |
5 files changed, 4 insertions, 83 deletions
diff --git a/lib/libc/nls/Makefile.inc b/lib/libc/nls/Makefile.inc index 56a664d..06e7de7 100644 --- a/lib/libc/nls/Makefile.inc +++ b/lib/libc/nls/Makefile.inc @@ -3,7 +3,7 @@ .PATH: ${.CURDIR}/../libc/nls -SRCS+= catclose.c catgets.c catopen.c msgcat.c +SRCS+= msgcat.c .if ${LIB} == "c" MAN3+= catclose.3 catgets.3 catopen.3 diff --git a/lib/libc/nls/catclose.c b/lib/libc/nls/catclose.c deleted file mode 100644 index a732666..0000000 --- a/lib/libc/nls/catclose.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $FreeBSD$ */ - -/* - * Written by J.T. Conklin, 10/05/94 - * Public domain. - */ - -#include <sys/cdefs.h> - -#ifdef __indr_reference -__indr_reference(_catclose,catclose); -#else - -#include <nl_types.h> - -extern int _catclose __P((nl_catd)); - -int -catclose(catd) - nl_catd catd; -{ - return _catclose(catd); -} - -#endif diff --git a/lib/libc/nls/catgets.c b/lib/libc/nls/catgets.c deleted file mode 100644 index 037b6ff..0000000 --- a/lib/libc/nls/catgets.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $FreeBSD$ */ - -/* - * Written by J.T. Conklin, 10/05/94 - * Public domain. - */ - -#include <sys/cdefs.h> - -#ifdef __indr_reference -__indr_reference(_catgets,catgets); -#else - -#include <nl_types.h> - -extern char * _catgets __P((nl_catd, int, int, __const char *)); - -char * -catgets(catd, set_id, msg_id, s) - nl_catd catd; - int set_id; - int msg_id; - __const char *s; -{ - return _catgets(catd, set_id, msg_id, s); -} - -#endif diff --git a/lib/libc/nls/catopen.c b/lib/libc/nls/catopen.c deleted file mode 100644 index c5ab394..0000000 --- a/lib/libc/nls/catopen.c +++ /dev/null @@ -1,26 +0,0 @@ -/* $FreeBSD$ */ - -/* - * Written by J.T. Conklin, 10/05/94 - * Public domain. - */ - -#include <sys/cdefs.h> - -#ifdef __indr_reference -__indr_reference(_catopen,catopen); -#else - -#include <nl_types.h> - -extern nl_catd _catopen __P((__const char *, int)); - -nl_catd -catopen(name, oflag) - __const char *name; - int oflag; -{ - return _catopen(name, oflag); -} - -#endif diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c index ebbac70..56c8804 100644 --- a/lib/libc/nls/msgcat.c +++ b/lib/libc/nls/msgcat.c @@ -83,7 +83,7 @@ static char *rcsid = "$NetBSD: msgcat.c,v 1.11 1995/02/27 13:06:51 cgd Exp $"; static nl_catd loadCat(); static int loadSet(); -nl_catd _catopen( name, type) +nl_catd catopen( name, type) __const char *name; int type; { @@ -264,7 +264,7 @@ int msgId; return(msg); } -char *_catgets( catd, setId, msgId, dflt) +char *catgets( catd, setId, msgId, dflt) nl_catd catd; int setId; int msgId; @@ -283,7 +283,7 @@ __const char *dflt; } -int _catclose( catd) +int catclose( catd) nl_catd catd; { MCCatT *cat = (MCCatT *) catd; |