summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2006-07-10 16:37:37 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2006-07-10 16:37:37 +0000
commit8778ad3b0015df6a1388a98de3796032d45eaa49 (patch)
treef1a81e31d0b1aa8e15686804ed0e81d03db26409 /usr.bin
parent18e3c30a70f1f1d35dfc53c49a690b7d84d5fedc (diff)
move #include <stdarg.h> out of includes.h; ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth.c3
-rw-r--r--usr.bin/ssh/fatal.c4
-rw-r--r--usr.bin/ssh/includes.h3
-rw-r--r--usr.bin/ssh/log.c3
-rw-r--r--usr.bin/ssh/log.h4
-rw-r--r--usr.bin/ssh/misc.c3
-rw-r--r--usr.bin/ssh/packet.c4
-rw-r--r--usr.bin/ssh/readpass.c3
-rw-r--r--usr.bin/ssh/scp.c3
-rw-r--r--usr.bin/ssh/ssh-keyscan.c3
-rw-r--r--usr.bin/ssh/xmalloc.c4
11 files changed, 25 insertions, 12 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index eec3d7af432..82ad36b0343 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.68 2006/07/06 16:03:53 stevesk Exp $ */
+/* $OpenBSD: auth.c,v 1.69 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -31,6 +31,7 @@
#include <libgen.h>
#include <paths.h>
#include <pwd.h>
+#include <stdarg.h>
#include "xmalloc.h"
#include "match.h"
diff --git a/usr.bin/ssh/fatal.c b/usr.bin/ssh/fatal.c
index 7f58970fb64..1f2cd0bc82d 100644
--- a/usr.bin/ssh/fatal.c
+++ b/usr.bin/ssh/fatal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fatal.c,v 1.5 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: fatal.c,v 1.6 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -25,6 +25,8 @@
#include "includes.h"
+#include <stdarg.h>
+
#include "log.h"
/* Fatal messages. This function never returns. */
diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h
index 6f02ed4de3a..b86db711802 100644
--- a/usr.bin/ssh/includes.h
+++ b/usr.bin/ssh/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.47 2006/07/09 15:15:10 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.48 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -26,7 +26,6 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <stdarg.h>
#include <unistd.h>
#include <time.h>
diff --git a/usr.bin/ssh/log.c b/usr.bin/ssh/log.c
index 05d73e70bb1..aa7a61755a8 100644
--- a/usr.bin/ssh/log.c
+++ b/usr.bin/ssh/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.32 2006/07/08 23:30:06 stevesk Exp $ */
+/* $OpenBSD: log.c,v 1.33 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -36,6 +36,7 @@
#include "includes.h"
+#include <stdarg.h>
#include <syslog.h>
#include <vis.h>
diff --git a/usr.bin/ssh/log.h b/usr.bin/ssh/log.h
index ad2a3a19896..77970eec82e 100644
--- a/usr.bin/ssh/log.h
+++ b/usr.bin/ssh/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.12 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: log.h,v 1.13 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -15,6 +15,8 @@
#ifndef SSH_LOG_H
#define SSH_LOG_H
+#include <stdarg.h>
+
/* Supported syslog facilities and levels. */
typedef enum {
SYSLOG_FACILITY_DAEMON,
diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c
index 15bdeb4116b..3c98e4e5cc3 100644
--- a/usr.bin/ssh/misc.c
+++ b/usr.bin/ssh/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.56 2006/07/10 12:46:51 dtucker Exp $ */
+/* $OpenBSD: misc.c,v 1.57 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005,2006 Damien Miller. All rights reserved.
@@ -37,6 +37,7 @@
#include <fcntl.h>
#include <paths.h>
#include <pwd.h>
+#include <stdarg.h>
#include "misc.h"
#include "log.h"
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index abf9b64d539..45a4d44f0ee 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.133 2006/07/08 21:47:12 stevesk Exp $ */
+/* $OpenBSD: packet.c,v 1.134 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -47,6 +47,8 @@
#include <netinet/in.h>
#include <netinet/ip.h>
+#include <stdarg.h>
+
#include "xmalloc.h"
#include "buffer.h"
#include "packet.h"
diff --git a/usr.bin/ssh/readpass.c b/usr.bin/ssh/readpass.c
index 7be002ca045..78f6768d0f9 100644
--- a/usr.bin/ssh/readpass.c
+++ b/usr.bin/ssh/readpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readpass.c,v 1.40 2006/07/09 15:15:10 stevesk Exp $ */
+/* $OpenBSD: readpass.c,v 1.41 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -31,6 +31,7 @@
#include <fcntl.h>
#include <paths.h>
#include <readpassphrase.h>
+#include <stdarg.h>
#include "xmalloc.h"
#include "misc.h"
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index faa756ee182..4810a55f131 100644
--- a/usr.bin/ssh/scp.c
+++ b/usr.bin/ssh/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.145 2006/07/10 12:03:20 djm Exp $ */
+/* $OpenBSD: scp.c,v 1.146 2006/07/10 16:37:36 stevesk Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -82,6 +82,7 @@
#include <fcntl.h>
#include <pwd.h>
#include <signal.h>
+#include <stdarg.h>
#include "xmalloc.h"
#include "atomicio.h"
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c
index af587402499..a6216695ce7 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.65 2006/07/08 21:47:12 stevesk Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.66 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -16,6 +16,7 @@
#include <errno.h>
#include <setjmp.h>
+#include <stdarg.h>
#include <openssl/bn.h>
diff --git a/usr.bin/ssh/xmalloc.c b/usr.bin/ssh/xmalloc.c
index 110d8cb7fb5..8f9c3e12e28 100644
--- a/usr.bin/ssh/xmalloc.c
+++ b/usr.bin/ssh/xmalloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmalloc.c,v 1.21 2006/03/27 01:21:18 deraadt Exp $ */
+/* $OpenBSD: xmalloc.c,v 1.22 2006/07/10 16:37:36 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -15,6 +15,8 @@
#include "includes.h"
+#include <stdarg.h>
+
#include "xmalloc.h"
#include "log.h"