diff options
author | jb <jb@FreeBSD.org> | 1998-02-20 04:13:29 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-02-20 04:13:29 +0000 |
commit | 07a1e093a1d64ba7714dc30c015b9ced309c4126 (patch) | |
tree | 5ceded704cff7451e270801c554f3f80f89c2aea /usr.bin/more | |
parent | d7895ddcdd56d4d451df06695373798bcc0e12b3 (diff) | |
download | FreeBSD-src-07a1e093a1d64ba7714dc30c015b9ced309c4126.zip FreeBSD-src-07a1e093a1d64ba7714dc30c015b9ced309c4126.tar.gz |
Add #include <string.h> to get prototypes for functions that gcc
has builtin (and wants to know that the prototypes match).
Diffstat (limited to 'usr.bin/more')
-rw-r--r-- | usr.bin/more/main.c | 1 | ||||
-rw-r--r-- | usr.bin/more/os.c | 1 | ||||
-rw-r--r-- | usr.bin/more/output.c | 1 | ||||
-rw-r--r-- | usr.bin/more/screen.c | 1 | ||||
-rw-r--r-- | usr.bin/more/tags.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/more/main.c b/usr.bin/more/main.c index bb77d0b..3539aa3 100644 --- a/usr.bin/more/main.c +++ b/usr.bin/more/main.c @@ -51,6 +51,7 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/7/93"; #include <sys/file.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <locale.h> #include "less.h" diff --git a/usr.bin/more/os.c b/usr.bin/more/os.c index 75b7a6e..598b194 100644 --- a/usr.bin/more/os.c +++ b/usr.bin/more/os.c @@ -54,6 +54,7 @@ static char sccsid[] = "@(#)os.c 8.1 (Berkeley) 6/6/93"; #include <signal.h> #include <setjmp.h> #include <stdio.h> +#include <string.h> #include <less.h> #include "pathnames.h" diff --git a/usr.bin/more/output.c b/usr.bin/more/output.c index 5b0a562..0d01550 100644 --- a/usr.bin/more/output.c +++ b/usr.bin/more/output.c @@ -42,6 +42,7 @@ static char sccsid[] = "@(#)output.c 8.1 (Berkeley) 6/6/93"; #include <ctype.h> #include <stdio.h> +#include <string.h> #include "less.h" int errmsgs; /* Count of messages displayed by error() */ diff --git a/usr.bin/more/screen.c b/usr.bin/more/screen.c index bf12ad6..83352cf 100644 --- a/usr.bin/more/screen.c +++ b/usr.bin/more/screen.c @@ -44,6 +44,7 @@ static char sccsid[] = "@(#)screen.c 8.2 (Berkeley) 4/20/94"; */ #include <stdio.h> +#include <string.h> #include <less.h> #define TERMIOS 1 diff --git a/usr.bin/more/tags.c b/usr.bin/more/tags.c index 0d805fa..5486567 100644 --- a/usr.bin/more/tags.c +++ b/usr.bin/more/tags.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)tags.c 8.1 (Berkeley) 6/6/93"; #include <sys/types.h> #include <stdio.h> +#include <string.h> #include <less.h> #define WHITESP(c) ((c)==' ' || (c)=='\t') |