diff options
Diffstat (limited to 'src/lib/libc/net/sethostent.c')
-rw-r--r-- | src/lib/libc/net/sethostent.c | 7 |
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) |
31 | static char rcsid[] = "$OpenBSD: sethostent.c,v 1.6 2003/06/02 20:18:36 millert Exp $"; | 31 | static 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 | ||
42 | void | 42 | void |
43 | sethostent(stayopen) | 43 | sethostent(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 | ||
54 | void | 53 | void |
55 | endhostent() | 54 | endhostent(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 | ||