diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-12 22:28:53 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-12 22:28:53 +0000 |
commit | f1fb9ef04df4b7cc9f628e2dc01f36a04a455535 (patch) | |
tree | 4878f0fd72b8100be880e156b62097d2a352e6f3 /usr.bin | |
parent | e7772ff132980e0291418b3791d9cac14723b98d (diff) |
move #include <netdb.h> out of includes.h; ok djm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/auth-options.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/canohost.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/channels.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/includes.h | 3 | ||||
-rw-r--r-- | usr.bin/ssh/readconf.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/servconf.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
10 files changed, 20 insertions, 11 deletions
diff --git a/usr.bin/ssh/auth-options.c b/usr.bin/ssh/auth-options.c index 473fb8bf7b2..ff0c830adad 100644 --- a/usr.bin/ssh/auth-options.c +++ b/usr.bin/ssh/auth-options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth-options.c,v 1.36 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: auth-options.c,v 1.37 2006/07/12 22:28:51 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -14,6 +14,7 @@ #include <sys/types.h> +#include <netdb.h> #include <pwd.h> #include "xmalloc.h" diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 75565a9d159..9cfc84005ca 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -1,4 +1,4 @@ -/* $OpenBSD: canohost.c,v 1.56 2006/07/11 20:07:25 stevesk Exp $ */ +/* $OpenBSD: canohost.c,v 1.57 2006/07/12 22:28:51 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -21,6 +21,7 @@ #include <ctype.h> #include <errno.h> +#include <netdb.h> #include "packet.h" #include "xmalloc.h" diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 8f5f4995abd..cfb243916f4 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.c,v 1.254 2006/07/11 20:07:25 stevesk Exp $ */ +/* $OpenBSD: channels.c,v 1.255 2006/07/12 22:28:51 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -50,6 +50,7 @@ #include <arpa/inet.h> #include <errno.h> +#include <netdb.h> #include <termios.h> #include "ssh.h" diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h index 70cbd5681a2..63c453d6acf 100644 --- a/usr.bin/ssh/includes.h +++ b/usr.bin/ssh/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.49 2006/07/11 20:07:25 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.50 2006/07/12 22:28:51 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -20,7 +20,6 @@ #include <sys/param.h> #include <sys/time.h> -#include <netdb.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index 5868b85e1bb..34d11088a7f 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.154 2006/07/11 20:07:25 stevesk Exp $ */ +/* $OpenBSD: readconf.c,v 1.155 2006/07/12 22:28:52 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -22,6 +22,7 @@ #include <ctype.h> #include <errno.h> +#include <netdb.h> #include "ssh.h" #include "xmalloc.h" diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index 1d97d20c2c6..5371e941063 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/servconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.c,v 1.153 2006/07/12 11:34:58 dtucker Exp $ */ +/* $OpenBSD: servconf.c,v 1.154 2006/07/12 22:28:52 stevesk Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -15,6 +15,8 @@ #include <sys/types.h> #include <sys/socket.h> +#include <netdb.h> + #include "ssh.h" #include "log.h" #include "servconf.h" diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index a6216695ce7..57ad7ee53c5 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.66 2006/07/10 16:37:36 stevesk Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.67 2006/07/12 22:28:52 stevesk Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -15,6 +15,7 @@ #include <sys/resource.h> #include <errno.h> +#include <netdb.h> #include <setjmp.h> #include <stdarg.h> diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 282a5f13a2a..725b2aea891 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.285 2006/07/11 20:27:56 stevesk Exp $ */ +/* $OpenBSD: ssh.c,v 1.286 2006/07/12 22:28:52 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -52,6 +52,7 @@ #include <ctype.h> #include <errno.h> #include <fcntl.h> +#include <netdb.h> #include <paths.h> #include <pwd.h> #include <signal.h> diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 482c9bc32f2..e04c1425b5b 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.c,v 1.190 2006/07/11 20:07:25 stevesk Exp $ */ +/* $OpenBSD: sshconnect.c,v 1.191 2006/07/12 22:28:52 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -24,6 +24,7 @@ #include <ctype.h> #include <errno.h> +#include <netdb.h> #include <paths.h> #include <pwd.h> diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index fdd9475f0dd..5b7cc7b35ad 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.337 2006/07/12 11:34:58 dtucker Exp $ */ +/* $OpenBSD: sshd.c,v 1.338 2006/07/12 22:28:52 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -52,6 +52,7 @@ #include <errno.h> #include <fcntl.h> +#include <netdb.h> #include <paths.h> #include <pwd.h> #include <signal.h> |