Remove unused indirect references to cat* functions.

This commit is contained in:
Alexey Zelkin 2000-09-01 12:10:59 +00:00
parent a367b9700f
commit 6b9175e062
5 changed files with 4 additions and 83 deletions

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../libc/nls .PATH: ${.CURDIR}/../libc/nls
SRCS+= catclose.c catgets.c catopen.c msgcat.c SRCS+= msgcat.c
.if ${LIB} == "c" .if ${LIB} == "c"
MAN3+= catclose.3 catgets.3 catopen.3 MAN3+= catclose.3 catgets.3 catopen.3

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 nl_catd loadCat();
static int loadSet(); static int loadSet();
nl_catd _catopen( name, type) nl_catd catopen( name, type)
__const char *name; __const char *name;
int type; int type;
{ {
@ -264,7 +264,7 @@ int msgId;
return(msg); return(msg);
} }
char *_catgets( catd, setId, msgId, dflt) char *catgets( catd, setId, msgId, dflt)
nl_catd catd; nl_catd catd;
int setId; int setId;
int msgId; int msgId;
@ -283,7 +283,7 @@ __const char *dflt;
} }
int _catclose( catd) int catclose( catd)
nl_catd catd; nl_catd catd;
{ {
MCCatT *cat = (MCCatT *) catd; MCCatT *cat = (MCCatT *) catd;