Add #include <string.h> to get prototypes.
This commit is contained in:
parent
78fe14dd30
commit
0c290fd53e
@ -50,6 +50,7 @@ static char sccsid[] = "@(#)commands.c 8.2 (Berkeley) 12/15/93";
|
||||
#include <fcntl.h>
|
||||
#endif /* CRAY */
|
||||
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <netdb.h>
|
||||
#include <ctype.h>
|
||||
|
@ -47,6 +47,7 @@ static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 6/6/93";
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef size_t
|
||||
|
@ -36,7 +36,7 @@
|
||||
static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: tftp.c,v 1.2 1997/08/14 06:47:40 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/* Many bug fixes are from Jim Guyton <guyton@rand-unix> */
|
||||
@ -57,6 +57,7 @@ static const char rcsid[] =
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)unexpand.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: unexpand.c,v 1.2 1997/08/20 11:05:28 charnier Exp $";
|
||||
"$Id: unexpand.c,v 1.3 1997/08/26 11:02:36 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -50,6 +50,7 @@ static const char rcsid[] =
|
||||
*/
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
char genbuf[BUFSIZ];
|
||||
char linebuf[BUFSIZ];
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: output.c,v 1.8 1997/04/28 03:36:12 steve Exp $
|
||||
* $Id: output.c,v 1.9 1997/04/29 03:05:38 steve Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -41,6 +41,7 @@ static char const sccsid[] = "@(#)output.c 5.7 (Berkeley) 5/24/93";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "defs.h"
|
||||
|
||||
static int default_goto __P((int));
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: ypmatch.c,v 1.5 1997/08/29 11:52:52 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -38,6 +38,7 @@ static const char rcsid[] =
|
||||
#include <ctype.h>
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <rpc/rpc.h>
|
||||
|
Loading…
Reference in New Issue
Block a user