comment or delete text after CPP directives.

This commit is contained in:
cgd 2001-01-16 02:50:27 +00:00
parent fb3e326ed2
commit d594ce939b
40 changed files with 131 additions and 131 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ntp_intres.c,v 1.2 2000/04/22 15:49:32 simonb Exp $ */
/* $NetBSD: ntp_intres.c,v 1.3 2001/01/16 02:50:27 cgd Exp $ */
/*
* ripped off from ../ntpres/ntpres.c by Greg Troxel 4/2/92
@ -468,7 +468,7 @@ findhostaddr(
if (debug > 2)
msyslog(LOG_INFO, "findhostaddr: Resolving <%s>",
entry->ce_name);
#endif DEBUG
#endif /* DEBUG */
hp = gethostbyname(entry->ce_name);
} else {
#ifdef DEBUG

View File

@ -1,4 +1,4 @@
/* $NetBSD: input.c,v 1.13 1999/07/25 00:24:38 hubertf Exp $ */
/* $NetBSD: input.c,v 1.14 2001/01/16 02:50:28 cgd Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -50,9 +50,9 @@
#if 0
static char sccsid[] = "@(#)input.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: input.c,v 1.13 1999/07/25 00:24:38 hubertf Exp $");
__RCSID("$NetBSD: input.c,v 1.14 2001/01/16 02:50:28 cgd Exp $");
#endif
#endif not lint
#endif /* not lint */
#include "include.h"
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: log.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $ */
/* $NetBSD: log.c,v 1.11 2001/01/16 02:50:28 cgd Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -50,9 +50,9 @@
#if 0
static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: log.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $");
__RCSID("$NetBSD: log.c,v 1.11 2001/01/16 02:50:28 cgd Exp $");
#endif
#endif not lint
#endif /* not lint */
#include "include.h"
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: update.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $ */
/* $NetBSD: update.c,v 1.11 2001/01/16 02:50:28 cgd Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -50,9 +50,9 @@
#if 0
static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: update.c,v 1.10 1999/07/25 00:24:39 hubertf Exp $");
__RCSID("$NetBSD: update.c,v 1.11 2001/01/16 02:50:28 cgd Exp $");
#endif
#endif not lint
#endif /* not lint */
#include "include.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: config.h,v 1.5 1997/10/19 16:56:49 christos Exp $ */
/* $NetBSD: config.h,v 1.6 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@ -67,8 +67,8 @@
#ifdef BSD
#define SUSPEND /* let ^Z suspend the game */
#endif BSD
#endif UNIX
#endif /* BSD */
#endif /* UNIX */
#ifdef CHDIR
/*
@ -77,9 +77,9 @@
*/
#ifdef QUEST
#define HACKDIR _PATH_QUEST
#else QUEST
#else /* QUEST */
#define HACKDIR _PATH_HACK
#endif QUEST
#endif /* QUEST */
/*
* Some system administrators are stupid enough to make Hack suid root
@ -95,7 +95,7 @@
* simultaneously, define HACKDIR, SECURE and MAX_NR_OF_PLAYERS.
* #define MAX_NR_OF_PLAYERS 100
*/
#endif CHDIR
#endif /* CHDIR */
/* size of terminal screen is (at least) (ROWNO+2) by COLNO */
#define COLNO 80

View File

@ -1,4 +1,4 @@
/* $NetBSD: def.monst.h,v 1.4 1997/10/19 16:57:07 christos Exp $ */
/* $NetBSD: def.monst.h,v 1.5 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@ -38,7 +38,7 @@ struct monst {
Bitfield(mnamelth,6); /* length of name (following mxlth) */
#ifndef NOWORM
Bitfield(wormno,5); /* at most 31 worms on any level */
#endif NOWORM
#endif /* NOWORM */
unsigned mtrapseen; /* bitmap of traps we've been trapped in */
long mlstmv; /* prevent two moves at once */
struct obj *minvent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: def.rm.h,v 1.4 1997/10/19 16:57:21 christos Exp $ */
/* $NetBSD: def.rm.h,v 1.5 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@ -36,7 +36,7 @@
#define CORR_SYM ':'
#else
#define CORR_SYM '#'
#endif QUEST
#endif /* QUEST */
#define POOL_SYM '}'
#define ERRCHAR '{'

View File

@ -1,4 +1,4 @@
/* $NetBSD: hack.cmd.c,v 1.4 1997/10/19 16:57:39 christos Exp $ */
/* $NetBSD: hack.cmd.c,v 1.5 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: hack.cmd.c,v 1.4 1997/10/19 16:57:39 christos Exp $");
__RCSID("$NetBSD: hack.cmd.c,v 1.5 2001/01/16 02:50:28 cgd Exp $");
#endif /* not lint */
#include "hack.h"
@ -19,7 +19,7 @@ struct func_tab cmdlist[] = {
{ '\024', dotele },
#ifdef SUSPEND
{ '\032', dosuspend },
#endif { /* SUSPEND */
#endif /* SUSPEND */
{ 'a', doapply },
/* 'A' : UNUSED */
/* 'b', 'B' : go sw */
@ -62,7 +62,7 @@ struct func_tab cmdlist[] = {
{ '?', dohelp },
#ifdef SHELL
{ '!', dosh },
#endif { /* SHELL */
#endif /* SHELL */
{ '.', donull },
{ ' ', donull },
{ ',', dopickup },

View File

@ -1,4 +1,4 @@
/* $NetBSD: hack.h,v 1.5 2000/07/03 03:57:41 matt Exp $ */
/* $NetBSD: hack.h,v 1.6 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@ -61,7 +61,7 @@ struct you {
#ifdef QUEST
schar di; /* direction of FF */
xchar ux0, uy0; /* initial position FF */
#endif QUEST
#endif /* QUEST */
xchar udisx, udisy; /* last display pos */
char usym; /* usually '@' */
schar uluck;
@ -73,7 +73,7 @@ struct you {
unsigned ulevel:4; /* 1 - 14 */
#ifdef QUEST
unsigned uhorizon:7;
#endif QUEST
#endif /* QUEST */
unsigned utrap:3; /* trap timeout */
unsigned utraptype:1; /* defined if utrap nonzero */
#define TT_BEARTRAP 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: move_robs.c,v 1.5 1999/05/15 23:56:36 christos Exp $ */
/* $NetBSD: move_robs.c,v 1.6 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)move_robs.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: move_robs.c,v 1.5 1999/05/15 23:56:36 christos Exp $");
__RCSID("$NetBSD: move_robs.c,v 1.6 2001/01/16 02:50:28 cgd Exp $");
#endif
#endif /* not lint */
@ -61,7 +61,7 @@ move_robots(was_sig)
addch(inch());
move(Max.y, Max.x);
addch(inch());
# endif DEBUG
# endif /* DEBUG */
for (rp = Robots; rp < &Robots[MAXROBOTS]; rp++) {
if (rp->y < 0)
continue;

View File

@ -1,4 +1,4 @@
/* $NetBSD: play_level.c,v 1.4 1997/10/12 14:10:01 lukem Exp $ */
/* $NetBSD: play_level.c,v 1.5 2001/01/16 02:50:28 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)play_level.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: play_level.c,v 1.4 1997/10/12 14:10:01 lukem Exp $");
__RCSID("$NetBSD: play_level.c,v 1.5 2001/01/16 02:50:28 cgd Exp $");
#endif
#endif /* not lint */
@ -70,7 +70,7 @@ play_level()
move(Max.y, Max.x);
addch(inch());
standend();
# endif DEBUG
# endif /* DEBUG */
setjmp(End_move);
flush_in();
while (!Dead && Num_robots > 0) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: form.h,v 1.3 2001/01/16 01:02:47 blymn Exp $ */
/* $NetBSD: form.h,v 1.4 2001/01/16 02:50:29 cgd Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn
@ -328,4 +328,4 @@ int unpost_form(FORM *);
__END_DECLS
#endif FORM_H
#endif /* FORM_H */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ftpd.c,v 1.119 2001/01/10 00:20:49 lukem Exp $ */
/* $NetBSD: ftpd.c,v 1.120 2001/01/16 02:50:29 cgd Exp $ */
/*
* Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
@ -109,7 +109,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)ftpd.c 8.5 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: ftpd.c,v 1.119 2001/01/10 00:20:49 lukem Exp $");
__RCSID("$NetBSD: ftpd.c,v 1.120 2001/01/16 02:50:29 cgd Exp $");
#endif
#endif /* not lint */
@ -1841,7 +1841,7 @@ receive_data(FILE *instr, FILE *outstr)
reply(550, "Unimplemented TYPE %d in receive_data", type);
goto cleanup_recv_data;
}
#undef FILESIZECHECK(x)
#undef FILESIZECHECK
data_err:
(void) alarm(0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sprite.h,v 1.1 1999/11/23 05:28:22 mrg Exp $ */
/* $NetBSD: sprite.h,v 1.2 2001/01/16 02:50:29 cgd Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@ -58,10 +58,10 @@
typedef int Boolean;
#ifndef TRUE
#define TRUE 1
#endif TRUE
#endif /* TRUE */
#ifndef FALSE
#define FALSE 0
#endif FALSE
#endif /* FALSE */
/*
* Functions that must return a status can return a ReturnStatus to
@ -92,7 +92,7 @@ typedef int ReturnStatus;
#define USER_NIL 0
#ifndef NULL
#define NULL 0
#endif NULL
#endif /* NULL */
/*
* An address is just a pointer in C. It is defined as a character pointer

View File

@ -1,4 +1,4 @@
/* $NetBSD: checknr.c,v 1.6 1998/11/06 22:57:55 christos Exp $ */
/* $NetBSD: checknr.c,v 1.7 2001/01/16 02:50:29 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)checknr.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: checknr.c,v 1.6 1998/11/06 22:57:55 christos Exp $");
__RCSID("$NetBSD: checknr.c,v 1.7 2001/01/16 02:50:29 cgd Exp $");
#endif
#endif /* not lint */
@ -569,7 +569,7 @@ addmac(mac)
if (binsrch(mac) >= 0){ /* it's OK to redefine something */
#ifdef DEBUG
printf("binsrch(%s) -> already in table\n", mac);
#endif DEBUG
#endif /* DEBUG */
return;
}
/* binsrch sets slot as a side effect */

View File

@ -1,4 +1,4 @@
/* $NetBSD: login.c,v 1.63 2001/01/10 12:24:38 lukem Exp $ */
/* $NetBSD: login.c,v 1.64 2001/01/16 02:50:29 cgd Exp $ */
/*-
* Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@ -44,7 +44,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
__RCSID("$NetBSD: login.c,v 1.63 2001/01/10 12:24:38 lukem Exp $");
__RCSID("$NetBSD: login.c,v 1.64 2001/01/16 02:50:29 cgd Exp $");
#endif /* not lint */
/*
@ -314,7 +314,7 @@ main(argc, argv)
}
login_krb5_get_tickets = 0;
}
#endif KERBEROS5
#endif /* KERBEROS5 */
for (cnt = 0;; ask = 1) {
#if defined(KERBEROS)

View File

@ -1,4 +1,4 @@
/* $NetBSD: lstInt.h,v 1.7 1996/11/06 17:59:44 christos Exp $ */
/* $NetBSD: lstInt.h,v 1.8 2001/01/16 02:50:30 cgd Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@ -110,4 +110,4 @@ typedef struct {
*/
#define LstIsEmpty(l) (((List)l)->firstPtr == NilListNode)
#endif _LSTINT_H_
#endif /* _LSTINT_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: showmount.c,v 1.10 2000/11/21 11:09:24 msaitoh Exp $ */
/* $NetBSD: showmount.c,v 1.11 2001/01/16 02:50:30 cgd Exp $ */
/*
* Copyright (c) 1989, 1993, 1995
@ -40,14 +40,14 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1989, 1993, 1995\n\
The Regents of the University of California. All rights reserved.\n");
#endif not lint
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95";
#endif
__RCSID("$NetBSD: showmount.c,v 1.10 2000/11/21 11:09:24 msaitoh Exp $");
#endif not lint
__RCSID("$NetBSD: showmount.c,v 1.11 2001/01/16 02:50:30 cgd Exp $");
#endif /* not lint */
#include <sys/types.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iostat.c,v 1.17 2000/12/01 02:19:43 simonb Exp $ */
/* $NetBSD: iostat.c,v 1.18 2001/01/16 02:50:30 cgd Exp $ */
/*
* Copyright (c) 1980, 1992, 1993
@ -38,8 +38,8 @@
#if 0
static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: iostat.c,v 1.17 2000/12/01 02:19:43 simonb Exp $");
#endif not lint
__RCSID("$NetBSD: iostat.c,v 1.18 2001/01/16 02:50:30 cgd Exp $");
#endif /* not lint */
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: commands.c,v 1.44 2001/01/03 12:41:00 mjl Exp $ */
/* $NetBSD: commands.c,v 1.45 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
#else
__RCSID("$NetBSD: commands.c,v 1.44 2001/01/03 12:41:00 mjl Exp $");
__RCSID("$NetBSD: commands.c,v 1.45 2001/01/16 02:50:31 cgd Exp $");
#endif
#endif /* not lint */
@ -130,7 +130,7 @@ __RCSID("$NetBSD: commands.c,v 1.44 2001/01/03 12:41:00 mjl Exp $");
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif MAXHOSTNAMELEN
#endif /* MAXHOSTNAMELEN */
#if defined(IPPROTO_IP) && defined(IP_TOS)
int tos = -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_bsd.c,v 1.16 1999/11/26 07:33:52 msaitoh Exp $ */
/* $NetBSD: sys_bsd.c,v 1.17 2001/01/16 02:50:31 cgd 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.16 1999/11/26 07:33:52 msaitoh Exp $");
__RCSID("$NetBSD: sys_bsd.c,v 1.17 2001/01/16 02:50:31 cgd Exp $");
#endif
#endif /* not lint */
@ -676,9 +676,9 @@ TerminalNewMode(f)
(void) signal(SIGTSTP, SIG_DFL);
# ifndef SOLARIS
(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
# else SOLARIS
# else /* SOLARIS */
(void) sigrelse(SIGTSTP);
# endif SOLARIS
# endif /* SOLARIS */
#endif /* SIGTSTP */
#ifndef USE_TERMIO
ltc = oltc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ww.h,v 1.14 1998/12/20 15:01:43 christos Exp $ */
/* $NetBSD: ww.h,v 1.15 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@ -397,4 +397,4 @@ int wwterminfoend __P((void));
#define MIN(x, y) ((x) > (y) ? (y) : (x))
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#endif __WW_H__
#endif /* __WW_H__ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmp.h,v 1.3 1997/10/16 23:24:24 lukem Exp $ */
/* $NetBSD: cmp.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: cmp.h,v 1.3 1997/10/16 23:24:24 lukem Exp $
* $NetBSD: cmp.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -39,4 +39,4 @@ __BEGIN_DECLS
int mopCmpEAddr __P((u_char *, u_char *));
__END_DECLS
#endif _CMP_H_
#endif /* _CMP_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: device.h,v 1.3 1997/10/16 23:24:29 lukem Exp $ */
/* $NetBSD: device.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: device.h,v 1.3 1997/10/16 23:24:29 lukem Exp $
* $NetBSD: device.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -50,4 +50,4 @@ void mopReadDL __P((void));
void mopReadRC __P((void));
__END_DECLS
#endif _DEVICE_H_
#endif /* _DEVICE_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: dl.h,v 1.3 1997/10/16 23:24:33 lukem Exp $ */
/* $NetBSD: dl.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: dl.h,v 1.3 1997/10/16 23:24:33 lukem Exp $
* $NetBSD: dl.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -39,4 +39,4 @@ __BEGIN_DECLS
void mopDumpDL __P((FILE *, u_char *, int));
__END_DECLS
#endif _DL_H_
#endif /* _DL_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: file.c,v 1.6 1998/07/25 06:01:13 mycroft Exp $ */
/* $NetBSD: file.c,v 1.7 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: file.c,v 1.6 1998/07/25 06:01:13 mycroft Exp $");
__RCSID("$NetBSD: file.c,v 1.7 2001/01/16 02:50:31 cgd Exp $");
#endif
#include "os.h"
@ -427,7 +427,7 @@ CheckAOutFile(fd)
} else {
return(-1);
}
#endif NOAOUT
#endif /* NOAOUT */
}
int
@ -662,7 +662,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill,
}
return(0);
#endif NOAOUT
#endif /* NOAOUT */
}
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopdef.h,v 1.2 1997/03/25 03:07:20 thorpej Exp $ */
/* $NetBSD: mopdef.h,v 1.3 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: mopdef.h,v 1.2 1997/03/25 03:07:20 thorpej Exp $
* $NetBSD: mopdef.h,v 1.3 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -193,6 +193,6 @@ extern char rc_mcst[];
extern char dl_802_proto[];
extern char rc_802_proto[];
extern char lp_802_proto[];
#endif MOPDEF_SUPRESS_EXTERN
#endif /* MOPDEF_SUPRESS_EXTERN */
#endif _MOPDEF_H_
#endif /* _MOPDEF_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nma.h,v 1.3 1997/10/16 23:24:50 lukem Exp $ */
/* $NetBSD: nma.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1995 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: nma.h,v 1.3 1997/10/16 23:24:50 lukem Exp $
* $NetBSD: nma.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -40,4 +40,4 @@ char *nmaGetShort __P((int));
char *nmaGetDevice __P((int));
__END_DECLS
#endif _NMA_H_
#endif /* _NMA_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: os.h,v 1.3 1997/10/16 23:24:53 lukem Exp $ */
/* $NetBSD: os.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1994-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: os.h,v 1.3 1997/10/16 23:24:53 lukem Exp $
* $NetBSD: os.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -58,4 +58,4 @@
#define DEV_NEW_CONF
#endif _OS_H_
#endif /* _OS_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pf.h,v 1.3 1997/10/16 23:24:56 lukem Exp $ */
/* $NetBSD: pf.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: pf.h,v 1.3 1997/10/16 23:24:56 lukem Exp $
* $NetBSD: pf.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -45,4 +45,4 @@ int pfRead __P((int, u_char *, int));
int pfWrite __P((int, u_char *, int, int));
__END_DECLS
#endif _PF_H_
#endif /* _PF_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.h,v 1.3 1997/10/16 23:25:00 lukem Exp $ */
/* $NetBSD: print.h,v 1.4 2001/01/16 02:50:31 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: print.h,v 1.3 1997/10/16 23:25:00 lukem Exp $
* $NetBSD: print.h,v 1.4 2001/01/16 02:50:31 cgd Exp $
*
*/
@ -48,4 +48,4 @@ void mopPrintInfo __P((FILE *, u_char *, int *, u_short,
u_char, int));
__END_DECLS
#endif _PRINT_H_
#endif /* _PRINT_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: rc.h,v 1.3 1997/10/16 23:25:05 lukem Exp $ */
/* $NetBSD: rc.h,v 1.4 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: rc.h,v 1.3 1997/10/16 23:25:05 lukem Exp $
* $NetBSD: rc.h,v 1.4 2001/01/16 02:50:32 cgd Exp $
*
*/
@ -39,4 +39,4 @@ __BEGIN_DECLS
void mopDumpRC __P((FILE *, u_char *, int));
__END_DECLS
#endif _RC_H_
#endif /* _RC_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: process.h,v 1.3 1997/10/16 23:25:21 lukem Exp $ */
/* $NetBSD: process.h,v 1.4 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: process.h,v 1.3 1997/10/16 23:25:21 lukem Exp $
* $NetBSD: process.h,v 1.4 2001/01/16 02:50:32 cgd Exp $
*
*/
@ -42,4 +42,4 @@ void mopProcessRC __P((FILE *, struct if_info *, u_char *, int *,
u_char *, u_char *, int, u_short));
__END_DECLS
#endif _PROCESS_H_
#endif /* _PROCESS_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfsd.c,v 1.34 2001/01/11 07:58:04 lukem Exp $ */
/* $NetBSD: nfsd.c,v 1.35 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@ -40,13 +40,13 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n");
#endif not lint
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95";
#else
__RCSID("$NetBSD: nfsd.c,v 1.34 2001/01/11 07:58:04 lukem Exp $");
__RCSID("$NetBSD: nfsd.c,v 1.35 2001/01/16 02:50:32 cgd Exp $");
#endif
#endif /* not lint */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if.c,v 1.8 2001/01/15 06:14:05 itojun Exp $ */
/* $NetBSD: if.c,v 1.9 2001/01/16 02:50:32 cgd Exp $ */
/* $KAME: if.c,v 1.15 2000/10/25 04:30:44 jinmei Exp $ */
/*
@ -357,7 +357,7 @@ get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter)
return (char *)rtm;
}
#undef FILTER_MATCH(type, filter)
#undef FILTER_MATCH
struct in6_addr *
get_addr(char *buf)

View File

@ -1,4 +1,4 @@
/* $NetBSD: c.h,v 1.2 1997/06/17 18:56:06 christos Exp $ */
/* $NetBSD: c.h,v 1.3 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1991 Carnegie Mellon University
@ -62,20 +62,20 @@
#ifndef FALSE
#define FALSE 0
#endif FALSE
#endif /* FALSE */
#ifndef TRUE
#define TRUE 1
#endif TRUE
#endif /* TRUE */
#define CERROR (-1)
#ifndef bool
typedef enum { false = 0, true = 1 } bool;
#endif bool
#endif /* bool */
#define sizeofS(string) (sizeof(string) - 1)
#define sizeofA(array) (sizeof(array)/sizeof(array[0]))
#define caseE(enum_type) case (int)(enum_type)
#endif _C_INCLUDE_
#endif /* _C_INCLUDE_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sup.h,v 1.7 1999/04/12 20:48:07 pk Exp $ */
/* $NetBSD: sup.h,v 1.8 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -120,11 +120,11 @@ extern char scmversion[]; /* string version of scm */
#define FILESUPDEFAULT "%s/supfiles/coll.list"
#define FILESUPTDEFAULT "%s/supfiles/coll.what"
#define FILEHOSTS "%s/supfiles/coll.host"
#else EE_XXX
#else /* EE_XXX */
#define FILESUPDEFAULT "%s/lib/supfiles/coll.list"
#define FILESUPTDEFAULT "%s/lib/supfiles/coll.what"
#define FILEHOSTS "%s/lib/supfiles/coll.host"
#endif EE_XXX
#endif /* EE_XXX */
#define FILEBKDIR "%s/BACKUP"
#define FILEBACKUP "%s/BACKUP/%s"
#define FILELAST "sup/%s/last%s"
@ -137,9 +137,9 @@ extern char scmversion[]; /* string version of scm */
#define FILEXPATCH "%s/sup/xpatch.host"
#ifdef EE_XXX
#define FILEDIRS "%s/supfiles/coll.dir" /* also supscan */
#else EE_XXX
#else /* EE_XXX */
#define FILEDIRS "%s/lib/supfiles/coll.dir" /* also supscan */
#endif EE_XXX
#endif /* EE_XXX */
#define FILECRYPT "sup/%s/crypt"
#define FILELOGFILE "sup/%s/logfile"
#define FILEPREFIX "sup/%s/prefix" /* also supscan */
@ -157,15 +157,15 @@ extern char scmversion[]; /* string version of scm */
#ifndef DEFDIR
#ifdef EE_XXX
#define DEFDIR "/etc"
#else EE_XXX
#else /* EE_XXX */
#define DEFDIR "/usr"
#endif EE_XXX
#endif DEFDIR
#endif /* EE_XXX */
#endif /* DEFDIR */
/* Default login account for file server */
#ifndef DEFUSER
#define DEFUSER "anon"
#endif DEFUSER
#endif /* DEFUSER */
/* subroutine return codes */
#define SCMOK (1) /* routine performed correctly */

View File

@ -1,4 +1,4 @@
/* $NetBSD: supfilesrv.c,v 1.19 2000/01/21 17:08:38 mycroft Exp $ */
/* $NetBSD: supfilesrv.c,v 1.20 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -245,10 +245,10 @@
#include <sys/ttyloc.h>
#include <access.h>
#include <sys/viceioctl.h>
#else CMUCS
#else /* CMUCS */
#define ACCESS_CODE_OK 0
#define ACCESS_CODE_BADPASSWORD (-2)
#endif CMUCS
#endif /* CMUCS */
#ifdef __SVR4
# include <sys/mkdev.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: supmsg.h,v 1.5 1999/04/12 20:48:08 pk Exp $ */
/* $NetBSD: supmsg.h,v 1.6 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -112,13 +112,13 @@
extern int server; /* true if we are the server */
extern int protver; /* protocol version of partner */
#else MSGSUBR
#else /* MSGSUBR */
#ifdef MSGFILE
#define EXTERN
#else MSGFILE
#else /* MSGFILE */
#define EXTERN extern
#endif MSGFILE
#endif /* MSGFILE */
/* used in all msg routines */
EXTERN int server; /* true if we are the server */
@ -183,4 +183,4 @@ EXTERN char *donereason; /* set if indicated by doneack */
#undef EXTERN
#endif MSGSUBR
#endif /* MSGSUBR */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysent.h,v 1.3 1998/07/06 07:05:48 mrg Exp $ */
/* $NetBSD: sysent.h,v 1.4 2001/01/16 02:50:32 cgd Exp $ */
/*
* Copyright (c) 1991 Carnegie Mellon University
@ -134,7 +134,7 @@ extern int iwrite(int, int, int, int, void *, int);
extern int pioctl(const char *, unsigned long, struct ViceIoctl *, int);
extern int setpag(void);
#endif
#else defined(__STDC__)
#else /* defined(__STDC__) */
extern gid_t getgid();
extern gid_t getegid();
extern long gethostid();