summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getnetnamadr.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/net/getnetnamadr.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/lib/libc/net/getnetnamadr.c')
-rw-r--r--src/lib/libc/net/getnetnamadr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/getnetnamadr.c b/src/lib/libc/net/getnetnamadr.c
index f755cd9b14..834ddf11ae 100644
--- a/src/lib/libc/net/getnetnamadr.c
+++ b/src/lib/libc/net/getnetnamadr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getnetnamadr.c,v 1.14 2001/06/27 00:58:55 lebel Exp $ */ 1/* $OpenBSD: getnetnamadr.c,v 1.15 2002/02/16 21:27:23 millert Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997, Jason Downs. All rights reserved. 4 * Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -77,7 +77,7 @@ static char sccsid[] = "@(#)getnetbyaddr.c 8.1 (Berkeley) 6/4/93";
77static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03"; 77static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03";
78static char rcsid[] = "$From: getnetnamadr.c,v 8.7 1996/08/05 08:31:35 vixie Exp $"; 78static char rcsid[] = "$From: getnetnamadr.c,v 8.7 1996/08/05 08:31:35 vixie Exp $";
79#else 79#else
80static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.14 2001/06/27 00:58:55 lebel Exp $"; 80static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.15 2002/02/16 21:27:23 millert Exp $";
81#endif 81#endif
82#endif /* LIBC_SCCS and not lint */ 82#endif /* LIBC_SCCS and not lint */
83 83
@@ -97,10 +97,10 @@ static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.14 2001/06/27 00:58:55 lebel
97 97
98extern int h_errno; 98extern int h_errno;
99 99
100struct netent *_getnetbyaddr __P((in_addr_t net, int type)); 100struct netent *_getnetbyaddr(in_addr_t net, int type);
101struct netent *_getnetbyname __P((const char *name)); 101struct netent *_getnetbyname(const char *name);
102 102
103int _hokchar __P((const char *)); 103int _hokchar(const char *);
104 104
105#define BYADDR 0 105#define BYADDR 0
106#define BYNAME 1 106#define BYNAME 1