diff options
author | 2013-11-12 22:50:39 +0000 | |
---|---|---|
committer | 2013-11-12 22:50:39 +0000 | |
commit | 4ba547d37eb1ed766b12b175c35882dfbccc8727 (patch) | |
tree | a128f232d001202eaeb9c1769b581dd41f23a532 | |
parent | ensure there are prototypes (diff) | |
download | wireguard-openbsd-4ba547d37eb1ed766b12b175c35882dfbccc8727.tar.xz wireguard-openbsd-4ba547d37eb1ed766b12b175c35882dfbccc8727.zip |
simple prototype repairs
-rw-r--r-- | usr.bin/ftp/list.c | 4 | ||||
-rw-r--r-- | usr.bin/grep/binary.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ftp/list.c b/usr.bin/ftp/list.c index f31b90300b9..312f4e09d32 100644 --- a/usr.bin/ftp/list.c +++ b/usr.bin/ftp/list.c @@ -1,4 +1,4 @@ -/* $OpenBSD: list.c,v 1.5 2010/07/03 00:21:14 halex Exp $ */ +/* $OpenBSD: list.c,v 1.6 2013/11/12 22:50:39 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> @@ -20,6 +20,8 @@ #include <string.h> +void parse_list(char **, char *); + void parse_unix(char **line, char *type) { diff --git a/usr.bin/grep/binary.c b/usr.bin/grep/binary.c index f62e4e3e7f7..1a22a6b2e71 100644 --- a/usr.bin/grep/binary.c +++ b/usr.bin/grep/binary.c @@ -1,4 +1,4 @@ -/* $OpenBSD: binary.c,v 1.17 2011/06/20 18:14:01 stsp Exp $ */ +/* $OpenBSD: binary.c,v 1.18 2013/11/12 22:50:42 deraadt Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -34,7 +34,7 @@ #include "grep.h" -int +static int isbinary(const char *buf, size_t n) { return (memchr(buf, '\0', n) != NULL); |