Declare ints, too, don't default them.
This commit is contained in:
parent
1e6012f954
commit
4944940fcf
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: telnetd.c,v 1.13 1998/07/06 06:49:41 mrg Exp $ */
|
||||
/* $NetBSD: telnetd.c,v 1.14 1998/07/09 18:32:52 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: telnetd.c,v 1.13 1998/07/06 06:49:41 mrg Exp $");
|
||||
__RCSID("$NetBSD: telnetd.c,v 1.14 1998/07/09 18:32:52 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -178,6 +178,7 @@ char valid_opts[] = {
|
|||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
struct sockaddr_in from;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: commands.c,v 1.22 1998/07/07 13:20:12 fvdl Exp $ */
|
||||
/* $NetBSD: commands.c,v 1.23 1998/07/09 18:34:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: commands.c,v 1.22 1998/07/07 13:20:12 fvdl Exp $");
|
||||
__RCSID("$NetBSD: commands.c,v 1.23 1998/07/09 18:34:02 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -1870,6 +1870,7 @@ env_list(d1, d2)
|
|||
unsigned char *
|
||||
env_default(init, welldefined)
|
||||
int init;
|
||||
int welldefined;
|
||||
{
|
||||
static struct env_lst *nep = NULL;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sys_bsd.c,v 1.12 1998/02/27 10:44:14 christos Exp $ */
|
||||
/* $NetBSD: sys_bsd.c,v 1.13 1998/07/09 18:34:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
from: static char sccsid[] = "@(#)sys_bsd.c 8.4 (Berkeley) 5/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: sys_bsd.c,v 1.12 1998/02/27 10:44:14 christos Exp $");
|
||||
__RCSID("$NetBSD: sys_bsd.c,v 1.13 1998/07/09 18:34:02 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -989,6 +989,7 @@ sys_telnet_init()
|
|||
|
||||
int
|
||||
process_rings(netin, netout, netex, ttyin, ttyout, poll)
|
||||
int netin, netout, netex, ttyin, ttyout;
|
||||
int poll; /* If 0, then block until something to do */
|
||||
{
|
||||
register int c;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: api.c,v 1.4 1998/03/04 13:16:06 christos Exp $ */
|
||||
/* $NetBSD: api.c,v 1.5 1998/07/09 18:33:32 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)api.c 4.5 (Berkeley) 4/26/91";
|
||||
#else
|
||||
__RCSID("$NetBSD: api.c,v 1.4 1998/03/04 13:16:06 christos Exp $");
|
||||
__RCSID("$NetBSD: api.c,v 1.5 1998/07/09 18:33:32 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -439,6 +439,7 @@ copy_subroutine(target, source, parms, what_is_user, length)
|
|||
BufferDescriptor *target, *source;
|
||||
CopyStringParms *parms;
|
||||
int what_is_user;
|
||||
int length;
|
||||
#define USER_IS_TARGET 0
|
||||
#define USER_IS_SOURCE 1
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cmd5.c,v 1.4 1997/11/21 08:35:52 lukem Exp $ */
|
||||
/* $NetBSD: cmd5.c,v 1.5 1998/07/09 18:34:39 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)cmd5.c 8.1 (Berkeley) 6/6/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: cmd5.c,v 1.4 1997/11/21 08:35:52 lukem Exp $");
|
||||
__RCSID("$NetBSD: cmd5.c,v 1.5 1998/07/09 18:34:39 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -101,6 +101,7 @@ c_move(w)
|
|||
void
|
||||
movewin(w, row, col)
|
||||
struct ww *w;
|
||||
int row, col;
|
||||
{
|
||||
struct ww *back = w->ww_back;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cron.c,v 1.7 1998/02/04 21:51:44 thorpej Exp $ */
|
||||
/* $NetBSD: cron.c,v 1.8 1998/07/09 18:35:10 msaitoh Exp $ */
|
||||
|
||||
/* Copyright 1988,1990,1993,1994 by Paul Vixie
|
||||
* All rights reserved
|
||||
|
@ -22,7 +22,7 @@
|
|||
#if 0
|
||||
static char rcsid[] = "Id: cron.c,v 2.11 1994/01/15 20:43:43 vixie Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: cron.c,v 1.7 1998/02/04 21:51:44 thorpej Exp $");
|
||||
__RCSID("$NetBSD: cron.c,v 1.8 1998/07/09 18:35:10 msaitoh Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -245,7 +245,9 @@ cron_sleep() {
|
|||
|
||||
#ifdef USE_SIGCHLD
|
||||
static void
|
||||
sigchld_handler(x) {
|
||||
sigchld_handler(x)
|
||||
int x;
|
||||
{
|
||||
WAIT_T waiter;
|
||||
PID_T pid;
|
||||
|
||||
|
@ -275,7 +277,9 @@ sigchld_handler(x) {
|
|||
|
||||
|
||||
static void
|
||||
sighup_handler(x) {
|
||||
sighup_handler(x)
|
||||
int x;
|
||||
{
|
||||
log_close();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: common.c,v 1.13 1998/07/06 07:03:28 mrg Exp $ */
|
||||
/* $NetBSD: common.c,v 1.14 1998/07/09 18:35:35 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -43,7 +43,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: common.c,v 1.13 1998/07/06 07:03:28 mrg Exp $");
|
||||
__RCSID("$NetBSD: common.c,v 1.14 1998/07/09 18:35:35 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -351,6 +351,7 @@ checkremote()
|
|||
/* sleep n milliseconds */
|
||||
void
|
||||
delay(n)
|
||||
int n;
|
||||
{
|
||||
struct timeval tdelay;
|
||||
|
||||
|
|
Loading…
Reference in New Issue