need <string.h> for strlen() protos. can't just add it to "string.h",

since not all files that need the proto include that.
CVS ----------------------------------------------------------------------
This commit is contained in:
cgd 1995-09-29 00:44:02 +00:00
parent b3658dd411
commit f676bc478a
7 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lcmd1.c,v 1.4 1995/09/28 10:34:23 tls Exp $ */
/* $NetBSD: lcmd1.c,v 1.5 1995/09/29 00:44:02 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)lcmd1.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: lcmd1.c,v 1.4 1995/09/28 10:34:23 tls Exp $";
static char rcsid[] = "$NetBSD: lcmd1.c,v 1.5 1995/09/29 00:44:02 cgd Exp $";
#endif
#endif /* not lint */
@ -49,6 +49,7 @@ static char rcsid[] = "$NetBSD: lcmd1.c,v 1.4 1995/09/28 10:34:23 tls Exp $";
#include "value.h"
#include "lcmd.h"
#include "var.h"
#include <string.h>
struct lcmd_arg arg_window[] = {
{ "row", 1, ARG_NUM },

View File

@ -1,4 +1,4 @@
/* $NetBSD: lcmd2.c,v 1.6 1995/09/28 10:34:24 tls Exp $ */
/* $NetBSD: lcmd2.c,v 1.7 1995/09/29 00:44:04 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)lcmd2.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: lcmd2.c,v 1.6 1995/09/28 10:34:24 tls Exp $";
static char rcsid[] = "$NetBSD: lcmd2.c,v 1.7 1995/09/29 00:44:04 cgd Exp $";
#endif
#endif /* not lint */
@ -52,6 +52,7 @@ static char rcsid[] = "$NetBSD: lcmd2.c,v 1.6 1995/09/28 10:34:24 tls Exp $";
#include "alias.h"
#include <sys/types.h>
#include <sys/resource.h>
#include <string.h>
/*ARGSUSED*/
l_iostat(v, a)

View File

@ -1,4 +1,4 @@
/* $NetBSD: parser4.c,v 1.4 1995/09/28 10:34:34 tls Exp $ */
/* $NetBSD: parser4.c,v 1.5 1995/09/29 00:44:05 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,11 +40,12 @@
#if 0
static char sccsid[] = "@(#)parser4.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: parser4.c,v 1.4 1995/09/28 10:34:34 tls Exp $";
static char rcsid[] = "$NetBSD: parser4.c,v 1.5 1995/09/29 00:44:05 cgd Exp $";
#endif
#endif /* not lint */
#include "parser.h"
#include <string.h>
/*
* | 3

View File

@ -1,4 +1,4 @@
/* $NetBSD: string.c,v 1.4 1995/09/28 10:34:39 tls Exp $ */
/* $NetBSD: string.c,v 1.5 1995/09/29 00:44:06 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,12 +40,13 @@
#if 0
static char sccsid[] = "@(#)string.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: string.c,v 1.4 1995/09/28 10:34:39 tls Exp $";
static char rcsid[] = "$NetBSD: string.c,v 1.5 1995/09/29 00:44:06 cgd Exp $";
#endif
#endif /* not lint */
#include "string.h"
#include <stdlib.h>
#include <string.h>
char *
str_cpy(s)

View File

@ -1,4 +1,4 @@
/* $NetBSD: win.c,v 1.4 1995/09/28 10:35:03 tls Exp $ */
/* $NetBSD: win.c,v 1.5 1995/09/29 00:44:08 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,12 +40,13 @@
#if 0
static char sccsid[] = "@(#)win.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: win.c,v 1.4 1995/09/28 10:35:03 tls Exp $";
static char rcsid[] = "$NetBSD: win.c,v 1.5 1995/09/29 00:44:08 cgd Exp $";
#endif
#endif /* not lint */
#include "defs.h"
#include "char.h"
#include <string.h>
/*
* Higher level routines for dealing with windows.

View File

@ -1,4 +1,4 @@
/* $NetBSD: wwdump.c,v 1.4 1995/09/28 10:35:25 tls Exp $ */
/* $NetBSD: wwdump.c,v 1.5 1995/09/29 00:44:09 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,12 +40,13 @@
#if 0
static char sccsid[] = "@(#)wwdump.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: wwdump.c,v 1.4 1995/09/28 10:35:25 tls Exp $";
static char rcsid[] = "$NetBSD: wwdump.c,v 1.5 1995/09/29 00:44:09 cgd Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "tt.h"
#include <string.h>
static char cmap[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

View File

@ -1,4 +1,4 @@
/* $NetBSD: wwgets.c,v 1.4 1995/09/28 10:35:32 tls Exp $ */
/* $NetBSD: wwgets.c,v 1.5 1995/09/29 00:44:10 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -40,12 +40,13 @@
#if 0
static char sccsid[] = "@(#)wwgets.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$NetBSD: wwgets.c,v 1.4 1995/09/28 10:35:32 tls Exp $";
static char rcsid[] = "$NetBSD: wwgets.c,v 1.5 1995/09/29 00:44:10 cgd Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "char.h"
#include <string.h>
wwgets(buf, n, w)
char *buf;