diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2013-11-08 11:15:20 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2013-11-08 11:15:20 +0000 |
commit | 2f53442c1add96ab3321a8736b770cb0477aee08 (patch) | |
tree | 8a6bb3041c0ce567b4db7a3108d6120cb562fb5f | |
parent | ebd75d6dca0278b1401487f594a15c6b0864fb8b (diff) |
Include stdlib.h for free() as per the man page.
-rw-r--r-- | usr.bin/ssh/bufaux.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/bufbn.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/buffer.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-client.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-common.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-glob.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/uidswap.c | 3 |
7 files changed, 14 insertions, 7 deletions
diff --git a/usr.bin/ssh/bufaux.c b/usr.bin/ssh/bufaux.c index 8e193105e48..6238f989dc1 100644 --- a/usr.bin/ssh/bufaux.c +++ b/usr.bin/ssh/bufaux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bufaux.c,v 1.52 2013/07/12 00:19:58 djm Exp $ */ +/* $OpenBSD: bufaux.c,v 1.53 2013/11/08 11:15:19 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -43,6 +43,7 @@ #include <string.h> #include <stdarg.h> +#include <stdlib.h> #include "xmalloc.h" #include "buffer.h" diff --git a/usr.bin/ssh/bufbn.c b/usr.bin/ssh/bufbn.c index cce94e87fee..bb647ed87e4 100644 --- a/usr.bin/ssh/bufbn.c +++ b/usr.bin/ssh/bufbn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bufbn.c,v 1.7 2013/05/17 00:13:13 djm Exp $*/ +/* $OpenBSD: bufbn.c,v 1.8 2013/11/08 11:15:19 dtucker Exp $*/ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -43,6 +43,7 @@ #include <string.h> #include <stdarg.h> +#include <stdlib.h> #include "xmalloc.h" #include "buffer.h" diff --git a/usr.bin/ssh/buffer.c b/usr.bin/ssh/buffer.c index de32c0e0a86..1b9cd8a3f4e 100644 --- a/usr.bin/ssh/buffer.c +++ b/usr.bin/ssh/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.33 2013/05/17 00:13:13 djm Exp $ */ +/* $OpenBSD: buffer.c,v 1.34 2013/11/08 11:15:19 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -17,6 +17,7 @@ #include <stdio.h> #include <string.h> #include <stdarg.h> +#include <stdlib.h> #include "xmalloc.h" #include "buffer.h" diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c index aaeee8b0810..4aa582a5cae 100644 --- a/usr.bin/ssh/sftp-client.c +++ b/usr.bin/ssh/sftp-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.c,v 1.108 2013/11/08 00:39:15 djm Exp $ */ +/* $OpenBSD: sftp-client.c,v 1.109 2013/11/08 11:15:19 dtucker Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -35,6 +35,7 @@ #include <signal.h> #include <stdarg.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/sftp-common.c b/usr.bin/ssh/sftp-common.c index 4851a15ef0b..ffc0166b042 100644 --- a/usr.bin/ssh/sftp-common.c +++ b/usr.bin/ssh/sftp-common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.c,v 1.24 2013/05/17 00:13:14 djm Exp $ */ +/* $OpenBSD: sftp-common.c,v 1.25 2013/11/08 11:15:19 dtucker Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * Copyright (c) 2001 Damien Miller. All rights reserved. @@ -34,6 +34,7 @@ #include <string.h> #include <time.h> #include <stdarg.h> +#include <stdlib.h> #include <util.h> #include "xmalloc.h" diff --git a/usr.bin/ssh/sftp-glob.c b/usr.bin/ssh/sftp-glob.c index a2a59bbcca4..1c4d477fba2 100644 --- a/usr.bin/ssh/sftp-glob.c +++ b/usr.bin/ssh/sftp-glob.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-glob.c,v 1.25 2013/11/08 00:39:15 djm Exp $ */ +/* $OpenBSD: sftp-glob.c,v 1.26 2013/11/08 11:15:19 dtucker Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -20,6 +20,7 @@ #include <dirent.h> #include <glob.h> +#include <stdlib.h> #include <string.h> #include "xmalloc.h" diff --git a/usr.bin/ssh/uidswap.c b/usr.bin/ssh/uidswap.c index 281aec4afe1..dc8b191b49a 100644 --- a/usr.bin/ssh/uidswap.c +++ b/usr.bin/ssh/uidswap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uidswap.c,v 1.35 2006/08/03 03:34:42 deraadt Exp $ */ +/* $OpenBSD: uidswap.c,v 1.36 2013/11/08 11:15:19 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -18,6 +18,7 @@ #include <string.h> #include <unistd.h> #include <stdarg.h> +#include <stdlib.h> #include "log.h" #include "uidswap.h" |