catclose returns int

This commit is contained in:
jtc 1995-03-01 08:00:12 +00:00
parent 6c6b9acef0
commit 3f10e2da9c
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: nl_types.h,v 1.4 1994/12/23 13:02:09 cgd Exp $ */
/* $NetBSD: nl_types.h,v 1.5 1995/03/01 08:01:23 jtc Exp $ */
/***********************************************************
Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
@ -43,6 +43,6 @@ typedef long nl_item;
extern nl_catd catopen __P((__const char *, int));
extern char *catgets __P((nl_catd, int, int, char *));
extern void catclose __P((nl_catd));
extern int catclose __P((nl_catd));
#endif /* _NL_TYPES_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: catclose.c,v 1.4 1995/02/27 13:06:30 cgd Exp $ */
/* $NetBSD: catclose.c,v 1.5 1995/03/01 08:00:12 jtc Exp $ */
/*
* Written by J.T. Conklin, 10/05/94
@ -13,13 +13,13 @@ __weak_reference(_catclose,catclose);
#include <nl_types.h>
extern void _catclose __P((nl_catd));
extern int _catclose __P((nl_catd));
void
int
catclose(catd)
nl_catd catd;
{
_catclose(catd);
return _catclose(catd);
}
#endif