summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/sethostent.c
diff options
context:
space:
mode:
authorotto <>2005-03-25 13:24:12 +0000
committerotto <>2005-03-25 13:24:12 +0000
commit2f490723a2e673b2457f65c4b06cacb7d700a3e8 (patch)
treec9dcd3a58da3f7404d9e626fe10abdd67c384fba /src/lib/libc/net/sethostent.c
parent9a03506f8308b6023a12f108a2072feb958607a6 (diff)
downloadopenbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.gz
openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.bz2
openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.zip
ansify. ok deraadt@ moritz@
Diffstat (limited to 'src/lib/libc/net/sethostent.c')
-rw-r--r--src/lib/libc/net/sethostent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libc/net/sethostent.c b/src/lib/libc/net/sethostent.c
index 2a8df101d4..2140d65d08 100644
--- a/src/lib/libc/net/sethostent.c
+++ b/src/lib/libc/net/sethostent.c
@@ -28,7 +28,7 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: sethostent.c,v 1.6 2003/06/02 20:18:36 millert Exp $"; 31static char rcsid[] = "$OpenBSD: sethostent.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <sys/param.h> 34#include <sys/param.h>
@@ -40,8 +40,7 @@ static char rcsid[] = "$OpenBSD: sethostent.c,v 1.6 2003/06/02 20:18:36 millert
40#include "thread_private.h" 40#include "thread_private.h"
41 41
42void 42void
43sethostent(stayopen) 43sethostent(int stayopen)
44 int stayopen;
45{ 44{
46 struct __res_state *_resp = _THREAD_PRIVATE(_res, _res, &_res); 45 struct __res_state *_resp = _THREAD_PRIVATE(_res, _res, &_res);
47 46
@@ -52,7 +51,7 @@ sethostent(stayopen)
52} 51}
53 52
54void 53void
55endhostent() 54endhostent(void)
56{ 55{
57 struct __res_state *_resp = _THREAD_PRIVATE(_res, _res, &_res); 56 struct __res_state *_resp = _THREAD_PRIVATE(_res, _res, &_res);
58 57