Add #include <string.h> to get prototypes for functions that gcc

has builtin (and wants to know that the prototypes match).
This commit is contained in:
jb 1998-02-20 04:13:29 +00:00
parent 3872512913
commit 90101d60e8
5 changed files with 5 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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() */

View File

@ -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

View File

@ -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')