sync __getnetbyaddr() prototypes with the one in getnetbyaddr.c; from

Krister Walfridsson in PR lib/4009
This commit is contained in:
mikel 1997-08-19 05:02:49 +00:00
parent 0dd6f777c8
commit e37bd19b9b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: getnetnamadr.c,v 1.3 1997/07/31 23:43:26 thorpej Exp $ */ /* $NetBSD: getnetnamadr.c,v 1.4 1997/08/19 05:02:49 mikel Exp $ */
/* Copyright (c) 1993 Carlos Leandro and Rui Salgueiro /* Copyright (c) 1993 Carlos Leandro and Rui Salgueiro
* Dep. Matematica Universidade de Coimbra, Portugal, Europe * Dep. Matematica Universidade de Coimbra, Portugal, Europe
@ -47,7 +47,7 @@ static char sccsid[] = "@(#)getnetbyaddr.c 8.1 (Berkeley) 6/4/93";
static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03"; static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03";
static char rcsid[] = "$Id: getnetnamadr.c,v 8.8 1997/06/01 20:34:37 vixie Exp "; static char rcsid[] = "$Id: getnetnamadr.c,v 8.8 1997/06/01 20:34:37 vixie Exp ";
#else #else
__RCSID("$NetBSD: getnetnamadr.c,v 1.3 1997/07/31 23:43:26 thorpej Exp $"); __RCSID("$NetBSD: getnetnamadr.c,v 1.4 1997/08/19 05:02:49 mikel Exp $");
#endif #endif
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
@ -78,7 +78,7 @@ extern int errno;
#endif #endif
/* XXX private header! */ /* XXX private header! */
struct netent *__getnetbyaddr __P((long net, int type)); struct netent *__getnetbyaddr __P((unsigned long net, int type));
struct netent *__getnetbyname __P((const char *name)); struct netent *__getnetbyname __P((const char *name));
#define BYADDR 0 #define BYADDR 0