quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed after getting the older compilers out of the tree..
This commit is contained in:
parent
67c9075410
commit
084c052803
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: eval.c,v 1.5 2004/07/07 19:20:09 mycroft Exp $ */
|
||||
/* $NetBSD: eval.c,v 1.6 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Expansion - quoting, separation, substitution, globbing
|
||||
@ -6,7 +6,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: eval.c,v 1.5 2004/07/07 19:20:09 mycroft Exp $");
|
||||
__RCSID("$NetBSD: eval.c,v 1.6 2006/05/10 21:53:14 mrg Exp $");
|
||||
#endif
|
||||
|
||||
|
||||
@ -183,6 +183,8 @@ expand(cp, wp, f)
|
||||
int make_magic;
|
||||
size_t len;
|
||||
|
||||
x.split = 0; /* XXX gcc */
|
||||
x.str = NULL; /* XXX gcc */
|
||||
if (cp == NULL)
|
||||
internal_errorf(1, "expand(NULL)");
|
||||
/* for alias, readonly, set, typeset commands */
|
||||
@ -291,6 +293,7 @@ expand(cp, wp, f)
|
||||
int stype;
|
||||
int slen;
|
||||
|
||||
slen = -1; /* XXX gcc */
|
||||
sp = strchr(sp, '\0') + 1; /* skip variable */
|
||||
type = varsub(&x, varname, sp, &stype, &slen);
|
||||
if (type < 0) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: histedit.c,v 1.38 2006/03/06 00:09:22 aymeric Exp $ */
|
||||
/* $NetBSD: histedit.c,v 1.39 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)histedit.c 8.2 (Berkeley) 5/4/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: histedit.c,v 1.38 2006/03/06 00:09:22 aymeric Exp $");
|
||||
__RCSID("$NetBSD: histedit.c,v 1.39 2006/05/10 21:53:14 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -251,6 +251,8 @@ histcmd(int argc, char **argv)
|
||||
(void) &efp;
|
||||
(void) &argc;
|
||||
(void) &argv;
|
||||
repl = NULL; /* XXX gcc4 */
|
||||
efp = NULL; /* XXX gcc4 */
|
||||
#endif
|
||||
|
||||
if (hist == NULL)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: parser.c,v 1.59 2005/03/21 20:10:29 dsl Exp $ */
|
||||
/* $NetBSD: parser.c,v 1.60 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: parser.c,v 1.59 2005/03/21 20:10:29 dsl Exp $");
|
||||
__RCSID("$NetBSD: parser.c,v 1.60 2006/05/10 21:53:14 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -934,6 +934,7 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
|
||||
(void) &oldstyle;
|
||||
(void) &prevsyntax;
|
||||
(void) &syntax;
|
||||
prevsyntax = NULL; /* XXX gcc4 */
|
||||
#endif
|
||||
|
||||
startlinno = plinno;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: systrace.c,v 1.32 2006/03/18 00:32:34 peter Exp $ */
|
||||
/* $NetBSD: systrace.c,v 1.33 2006/05/10 21:53:14 mrg Exp $ */
|
||||
/* $OpenBSD: systrace.c,v 1.32 2002/08/05 23:27:53 provos Exp $ */
|
||||
/*
|
||||
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
|
||||
@ -575,6 +575,9 @@ main(int argc, char **argv)
|
||||
uid_t cr_uid;
|
||||
gid_t cr_gid;
|
||||
|
||||
cr_uid = 0; /* XXX gcc */
|
||||
cr_gid = 0; /* XXX gcc */
|
||||
|
||||
tv_wait.tv_sec = 60;
|
||||
tv_wait.tv_usec = 0;
|
||||
|
||||
|
4
crypto/dist/heimdal/kdc/524.c
vendored
4
crypto/dist/heimdal/kdc/524.c
vendored
@ -34,7 +34,7 @@
|
||||
#include "kdc_locl.h"
|
||||
|
||||
__RCSID("$Heimdal: 524.c,v 1.29 2003/03/17 05:35:47 assar Exp $"
|
||||
"$NetBSD: 524.c,v 1.10 2003/05/15 21:36:35 lha Exp $");
|
||||
"$NetBSD: 524.c,v 1.11 2006/05/10 21:53:14 mrg Exp $");
|
||||
|
||||
#ifndef KRB4
|
||||
#include <krb5-v4compat.h>
|
||||
@ -286,6 +286,8 @@ do_524(const Ticket *t, krb5_data *reply,
|
||||
size_t len;
|
||||
int kvno;
|
||||
|
||||
kvno = 0; /* XXX gcc */
|
||||
|
||||
if(!enable_524) {
|
||||
ret = KRB5KDC_ERR_POLICY;
|
||||
kdc_log(0, "Rejected ticket conversion request from %s", from);
|
||||
|
9
crypto/dist/ssh/sftp.c
vendored
9
crypto/dist/ssh/sftp.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sftp.c,v 1.19 2006/03/19 16:47:09 elad Exp $ */
|
||||
/* $NetBSD: sftp.c,v 1.20 2006/05/10 21:53:14 mrg Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
@ -18,7 +18,7 @@
|
||||
#include "includes.h"
|
||||
|
||||
RCSID("$OpenBSD: sftp.c,v 1.70 2006/01/31 10:19:02 djm Exp $");
|
||||
__RCSID("$NetBSD: sftp.c,v 1.19 2006/03/19 16:47:09 elad Exp $");
|
||||
__RCSID("$NetBSD: sftp.c,v 1.20 2006/05/10 21:53:14 mrg Exp $");
|
||||
|
||||
#include <glob.h>
|
||||
#include <histedit.h>
|
||||
@ -1012,6 +1012,11 @@ parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd,
|
||||
int err = 0;
|
||||
glob_t g;
|
||||
|
||||
pflag = 0; /* XXX gcc */
|
||||
lflag = 0; /* XXX gcc */
|
||||
iflag = 0; /* XXX gcc */
|
||||
n_arg = 0; /* XXX gcc */
|
||||
|
||||
path1 = path2 = NULL;
|
||||
cmdnum = parse_args(&cmd, &pflag, &lflag, &iflag, &n_arg,
|
||||
&path1, &path2);
|
||||
|
6
crypto/dist/ssh/ssh-keysign.c
vendored
6
crypto/dist/ssh/ssh-keysign.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ssh-keysign.c,v 1.10 2006/02/04 22:32:14 christos Exp $ */
|
||||
/* $NetBSD: ssh-keysign.c,v 1.11 2006/05/10 21:53:14 mrg Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2002 Markus Friedl. All rights reserved.
|
||||
*
|
||||
@ -24,7 +24,7 @@
|
||||
*/
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: ssh-keysign.c,v 1.19 2005/09/13 23:40:07 djm Exp $");
|
||||
__RCSID("$NetBSD: ssh-keysign.c,v 1.10 2006/02/04 22:32:14 christos Exp $");
|
||||
__RCSID("$NetBSD: ssh-keysign.c,v 1.11 2006/05/10 21:53:14 mrg Exp $");
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/rand.h>
|
||||
@ -148,6 +148,8 @@ main(int argc, char **argv)
|
||||
u_int slen, dlen;
|
||||
u_int32_t rnd[256];
|
||||
|
||||
key = NULL; /* XXX gcc */
|
||||
|
||||
/* Ensure that stdin and stdout are connected */
|
||||
if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
|
||||
exit(1);
|
||||
|
4
dist/ipf/lib/hostname.c
vendored
4
dist/ipf/lib/hostname.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hostname.c,v 1.1.1.1 2004/03/28 08:56:18 martti Exp $ */
|
||||
/* $NetBSD: hostname.c,v 1.2 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
|
||||
#include "ipf.h"
|
||||
@ -12,6 +12,8 @@ void *ip;
|
||||
struct in_addr ipa;
|
||||
struct netent *np;
|
||||
|
||||
memset(&ipa, 0, sizeof ipa); /* XXX gcc */
|
||||
|
||||
if (v == 4) {
|
||||
ipa.s_addr = *(u_32_t *)ip;
|
||||
if (ipa.s_addr == htonl(0xfedcba98))
|
||||
|
4
dist/ipf/tools/ipmon.c
vendored
4
dist/ipf/tools/ipmon.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ipmon.c,v 1.7 2006/04/04 16:17:19 martti Exp $ */
|
||||
/* $NetBSD: ipmon.c,v 1.8 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1993-2001, 2003 by Darren Reed.
|
||||
@ -1426,6 +1426,8 @@ char *argv[];
|
||||
extern int optind;
|
||||
extern char *optarg;
|
||||
|
||||
n = 0; /* XXX gcc */
|
||||
|
||||
fd[0] = fd[1] = fd[2] = -1;
|
||||
fdt[0] = fdt[1] = fdt[2] = -1;
|
||||
iplfile[0] = IPL_NAME;
|
||||
|
7
dist/ntp/ntpd/refclock_shm.c
vendored
7
dist/ntp/ntpd/refclock_shm.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: refclock_shm.c,v 1.3 2003/12/04 17:10:34 drochner Exp $ */
|
||||
/* $NetBSD: refclock_shm.c,v 1.4 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* refclock_shm - clock driver for utc via shared memory
|
||||
@ -246,6 +246,11 @@ shm_poll(
|
||||
struct timeval tvt;
|
||||
struct tm *t;
|
||||
int ok=1;
|
||||
|
||||
tvr.tv_sec = 0; /* XXX gcc */
|
||||
tvr.tv_usec = 0; /* XXX gcc */
|
||||
tvt.tv_sec = 0; /* XXX gcc */
|
||||
tvt.tv_usec = 0; /* XXX gcc */
|
||||
switch (up->mode) {
|
||||
case 0: {
|
||||
tvr.tv_sec=up->receiveTimeStampSec;
|
||||
|
5
dist/ntp/sntp/timing.c
vendored
5
dist/ntp/sntp/timing.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: timing.c,v 1.2 2003/12/04 16:23:38 drochner Exp $ */
|
||||
/* $NetBSD: timing.c,v 1.3 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/* Copyright (C) 1996 N.M. Maclaren
|
||||
Copyright (C) 1996 The University of Cambridge
|
||||
@ -67,6 +67,9 @@ an unsigned long for tv_sec. */
|
||||
/* Start by converting to timeval format. Note that we have to cater for
|
||||
negative, unsigned values. */
|
||||
|
||||
previous.tv_sec = 0; /* XXX gcc */
|
||||
previous.tv_usec = 0; /* XXX gcc */
|
||||
|
||||
if ((n = (long)difference) > difference) --n;
|
||||
adjust.tv_sec = n;
|
||||
adjust.tv_usec = (long)(MILLION_D*(difference-n));
|
||||
|
5
dist/pppd/pppstats/pppstats.c
vendored
5
dist/pppd/pppstats/pppstats.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pppstats.c,v 1.2 2006/03/02 17:32:28 christos Exp $ */
|
||||
/* $NetBSD: pppstats.c,v 1.3 2006/05/10 21:53:14 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* print PPP statistics:
|
||||
@ -42,7 +42,7 @@
|
||||
#if 0
|
||||
static const char rcsid[] = "Id: pppstats.c,v 1.29 2002/10/27 12:56:26 fcusack Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: pppstats.c,v 1.2 2006/03/02 17:32:28 christos Exp $");
|
||||
__RCSID("$NetBSD: pppstats.c,v 1.3 2006/05/10 21:53:14 mrg Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -305,6 +305,7 @@ intpr()
|
||||
struct ppp_stats cur, old;
|
||||
struct ppp_comp_stats ccs, ocs;
|
||||
|
||||
memset(&ccs, 0, sizeof(ccs)); /* XXX gcc */
|
||||
memset(&old, 0, sizeof(old));
|
||||
memset(&ocs, 0, sizeof(ocs));
|
||||
|
||||
|
3
dist/smbfs/lib/smb/rap.c
vendored
3
dist/smbfs/lib/smb/rap.c
vendored
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: rap.c,v 1.5 2004/10/29 19:18:32 dsl Exp $");
|
||||
__RCSID("$NetBSD: rap.c,v 1.6 2006/05/10 21:53:15 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/errno.h>
|
||||
@ -387,6 +387,7 @@ smb_rap_NetShareEnum(struct smb_ctx *ctx, int sLevel, void *pbBuffer,
|
||||
long lval;
|
||||
int error;
|
||||
|
||||
lval = -1; /* XXX gcc */
|
||||
error = smb_rap_create(0, "WrLeh", "B13BWz", &rap);
|
||||
if (error)
|
||||
return error;
|
||||
|
6
dist/tcpdump/print-zephyr.c
vendored
6
dist/tcpdump/print-zephyr.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: print-zephyr.c,v 1.4 2004/09/27 23:04:25 dyoung Exp $ */
|
||||
/* $NetBSD: print-zephyr.c,v 1.5 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Decode and print Zephyr packets.
|
||||
@ -26,7 +26,7 @@
|
||||
static const char rcsid[] _U_ =
|
||||
"@(#) Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.6.2.2 2003/11/16 08:51:56 guy Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: print-zephyr.c,v 1.4 2004/09/27 23:04:25 dyoung Exp $");
|
||||
__RCSID("$NetBSD: print-zephyr.c,v 1.5 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -145,6 +145,8 @@ zephyr_print(const u_char *cp, int length)
|
||||
char *s;
|
||||
int lose = 0;
|
||||
|
||||
memset(&z, 0, sizeof(z)); /* XXX gcc */
|
||||
|
||||
#define PARSE_STRING \
|
||||
s = parse_field(&parse, &parselen); \
|
||||
if (!s) lose = 1;
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "uucp.h"
|
||||
|
||||
#if USE_RCS_ID
|
||||
const char uucico_rcsid[] = "$Id: uucico.c,v 1.5 2004/11/05 20:37:28 dsl Exp $";
|
||||
const char uucico_rcsid[] = "$Id: uucico.c,v 1.6 2006/05/10 21:53:15 mrg Exp $";
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
@ -1062,6 +1062,8 @@ fconn_call (qdaemon, qport, qstat, cretry, pfcalled)
|
||||
enum tstatus_type terr;
|
||||
boolean fret;
|
||||
|
||||
memset(&terr, 0, sizeof terr); /* XXX gcc */
|
||||
|
||||
puuconf = qdaemon->puuconf;
|
||||
qsys = qdaemon->qsys;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: citrus_csmapper.c,v 1.5 2004/12/30 05:01:50 christos Exp $ */
|
||||
/* $NetBSD: citrus_csmapper.c,v 1.6 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2003 Citrus Project,
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: citrus_csmapper.c,v 1.5 2004/12/30 05:01:50 christos Exp $");
|
||||
__RCSID("$NetBSD: citrus_csmapper.c,v 1.6 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
@ -348,6 +348,8 @@ _citrus_csmapper_open(struct _citrus_csmapper * __restrict * __restrict rcsm,
|
||||
const char *realsrc, *realdst;
|
||||
unsigned long norm;
|
||||
|
||||
norm = 0; /* XXX gcc */
|
||||
|
||||
ret = _citrus_mapper_create_area(&maparea, _PATH_CSMAPPER);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: citrus_pivot_factory.c,v 1.4 2004/01/02 21:49:35 itojun Exp $ */
|
||||
/* $NetBSD: citrus_pivot_factory.c,v 1.5 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2003 Citrus Project,
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: citrus_pivot_factory.c,v 1.4 2004/01/02 21:49:35 itojun Exp $");
|
||||
__RCSID("$NetBSD: citrus_pivot_factory.c,v 1.5 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
@ -116,6 +116,8 @@ convert_line(struct src_head *sh, const char *line, size_t len)
|
||||
char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX];
|
||||
u_int32_t val;
|
||||
|
||||
se = NULL; /* XXX gcc */
|
||||
|
||||
/* cut off trailing comment */
|
||||
p = memchr(line, T_COMM, len);
|
||||
if (p)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inet_cidr_ntop.c,v 1.2 2004/05/20 23:12:33 christos Exp $ */
|
||||
/* $NetBSD: inet_cidr_ntop.c,v 1.3 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
|
||||
@ -22,7 +22,7 @@
|
||||
#if 0
|
||||
static const char rcsid[] = "Id: inet_cidr_ntop.c,v 1.1.2.1.8.2 2004/03/17 00:29:46 marka Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: inet_cidr_ntop.c,v 1.2 2004/05/20 23:12:33 christos Exp $");
|
||||
__RCSID("$NetBSD: inet_cidr_ntop.c,v 1.3 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -191,6 +191,8 @@ inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
|
||||
words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
|
||||
best.base = -1;
|
||||
cur.base = -1;
|
||||
best.len = -1; /* XXX gcc */
|
||||
cur.len = -1; /* XXX gcc */
|
||||
for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) {
|
||||
if (words[i] == 0) {
|
||||
if (cur.base == -1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inet_ntop.c,v 1.2 2004/05/20 23:12:33 christos Exp $ */
|
||||
/* $NetBSD: inet_ntop.c,v 1.3 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
|
||||
@ -22,7 +22,7 @@
|
||||
#if 0
|
||||
static const char rcsid[] = "Id: inet_ntop.c,v 1.1.2.1.8.1 2004/03/09 08:33:33 marka Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: inet_ntop.c,v 1.2 2004/05/20 23:12:33 christos Exp $");
|
||||
__RCSID("$NetBSD: inet_ntop.c,v 1.3 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -160,6 +160,8 @@ inet_ntop6(src, dst, size)
|
||||
words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
|
||||
best.base = -1;
|
||||
cur.base = -1;
|
||||
best.len = -1; /* XXX gcc */
|
||||
cur.len = -1; /* XXX gcc */
|
||||
for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) {
|
||||
if (words[i] == 0) {
|
||||
if (cur.base == -1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfwprintf.c,v 1.7 2006/02/16 23:26:19 christos Exp $ */
|
||||
/* $NetBSD: vfwprintf.c,v 1.8 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -42,7 +42,7 @@
|
||||
static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93";
|
||||
__FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.24 2005/04/16 22:36:51 das Exp $");
|
||||
#else
|
||||
__RCSID("$NetBSD: vfwprintf.c,v 1.7 2006/02/16 23:26:19 christos Exp $");
|
||||
__RCSID("$NetBSD: vfwprintf.c,v 1.8 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -649,6 +649,7 @@ __vfwprintf_unlocked(FILE *fp, const wchar_t *fmt0, va_list ap)
|
||||
val = GETARG (int); \
|
||||
}
|
||||
|
||||
ndig = -1; /* XXX gcc */
|
||||
|
||||
thousands_sep = '\0';
|
||||
grouping = NULL;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mdreloc.c,v 1.38 2005/12/24 20:59:31 perry Exp $ */
|
||||
/* $NetBSD: mdreloc.c,v 1.39 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Eduardo Horvath.
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: mdreloc.c,v 1.38 2005/12/24 20:59:31 perry Exp $");
|
||||
__RCSID("$NetBSD: mdreloc.c,v 1.39 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <errno.h>
|
||||
@ -457,6 +457,8 @@ _rtld_bind(const Obj_Entry *obj, Elf_Word reloff)
|
||||
Elf_Addr result;
|
||||
int err;
|
||||
|
||||
result = 0; /* XXX gcc */
|
||||
|
||||
if (ELF_R_TYPE(obj->pltrela->r_info) == R_TYPE(JMP_SLOT)) {
|
||||
/*
|
||||
* XXXX
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dir.c,v 1.18 2006/03/20 01:37:10 christos Exp $ */
|
||||
/* $NetBSD: dir.c,v 1.19 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1986, 1993
|
||||
@ -63,7 +63,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)dir.c 8.5 (Berkeley) 12/8/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: dir.c,v 1.18 2006/03/20 01:37:10 christos Exp $");
|
||||
__RCSID("$NetBSD: dir.c,v 1.19 2006/05/10 21:53:15 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -345,6 +345,7 @@ mkentry(struct inodesc *idesc)
|
||||
struct ext2fs_direct newent;
|
||||
int newlen, oldlen;
|
||||
|
||||
newent.e2d_type = 0; /* XXX gcc */
|
||||
newent.e2d_namlen = strlen(idesc->id_name);
|
||||
if (sblock.e2fs.e2fs_rev > E2FS_REV0 &&
|
||||
(sblock.e2fs.e2fs_features_incompat & EXT2F_INCOMPAT_FTYPE))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rtquery.c,v 1.17 2006/05/09 20:30:15 mrg Exp $ */
|
||||
/* $NetBSD: rtquery.c,v 1.18 2006/05/10 21:53:15 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1993
|
||||
@ -64,7 +64,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\n"
|
||||
"The Regents of the University of California."
|
||||
" All rights reserved.\n");
|
||||
#ifdef __NetBSD__
|
||||
__RCSID("$NetBSD: rtquery.c,v 1.17 2006/05/09 20:30:15 mrg Exp $");
|
||||
__RCSID("$NetBSD: rtquery.c,v 1.18 2006/05/10 21:53:15 mrg Exp $");
|
||||
#elif defined(__FreeBSD__)
|
||||
__RCSID("$FreeBSD$");
|
||||
#else
|
||||
@ -144,6 +144,8 @@ main(int argc,
|
||||
char *p, *options, *value, delim;
|
||||
const char *result;
|
||||
|
||||
delim = 0; /* XXX gcc */
|
||||
|
||||
OMSG.rip_nets[0].n_dst = RIP_DEFAULT;
|
||||
OMSG.rip_nets[0].n_family = RIP_AF_UNSPEC;
|
||||
OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cast128.c,v 1.8 2005/12/11 12:20:52 christos Exp $ */
|
||||
/* $NetBSD: cast128.c,v 1.9 2006/05/10 21:53:15 mrg Exp $ */
|
||||
/* $OpenBSD: cast.c,v 1.2 2000/06/06 06:49:47 deraadt Exp $ */
|
||||
|
||||
/*
|
||||
@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cast128.c,v 1.8 2005/12/11 12:20:52 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cast128.c,v 1.9 2006/05/10 21:53:15 mrg Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <crypto/cast128/cast128.h>
|
||||
@ -135,8 +135,8 @@ u_int32_t t, l, r;
|
||||
|
||||
void cast128_setkey(cast128_key* key, const u_int8_t* rawkey, int keybytes)
|
||||
{
|
||||
u_int32_t t[4], z[4], x[4];
|
||||
int i;
|
||||
u_int32_t t[4], z[4], x[4];
|
||||
int i;
|
||||
|
||||
/* Set number of rounds to 12 or 16, depending on key length */
|
||||
key->rounds = (keybytes <= 10 ? 12 : 16);
|
||||
@ -144,6 +144,7 @@ int i;
|
||||
/* Copy key to workspace x */
|
||||
for (i = 0; i < 4; i++) {
|
||||
x[i] = 0;
|
||||
t[i] = z[i] = 0; /* XXX gcc */
|
||||
if ((i*4+0) < keybytes) x[i] = (u_int32_t)rawkey[i*4+0] << 24;
|
||||
if ((i*4+1) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+1] << 16;
|
||||
if ((i*4+2) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+2] << 8;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: db_command.c,v 1.85 2006/04/14 22:06:41 christos Exp $ */
|
||||
/* $NetBSD: db_command.c,v 1.86 2006/05/10 21:53:16 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.85 2006/04/14 22:06:41 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.86 2006/05/10 21:53:16 mrg Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_kgdb.h"
|
||||
@ -395,6 +395,8 @@ db_command(const struct db_command **last_cmdp,
|
||||
boolean_t have_addr = FALSE;
|
||||
int result;
|
||||
|
||||
cmd = NULL; /* XXX gcc */
|
||||
|
||||
static db_expr_t last_count = 0;
|
||||
|
||||
t = db_read_token();
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fss.c,v 1.24 2006/04/13 15:56:53 hannken Exp $ */
|
||||
/* $NetBSD: fss.c,v 1.25 2006/05/10 21:53:16 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.24 2006/04/13 15:56:53 hannken Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.25 2006/05/10 21:53:16 mrg Exp $");
|
||||
|
||||
#include "fss.h"
|
||||
|
||||
@ -674,6 +674,8 @@ fss_create_snapshot(struct fss_softc *sc, struct fss_set *fss, struct lwp *l)
|
||||
u_int32_t csize;
|
||||
off_t bsize;
|
||||
|
||||
bsize = 0; /* XXX gcc */
|
||||
|
||||
/*
|
||||
* Open needed files.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: midway.c,v 1.70 2006/04/14 22:30:13 christos Exp $ */
|
||||
/* $NetBSD: midway.c,v 1.71 2006/05/10 21:53:16 mrg Exp $ */
|
||||
/* (sync'd to midway.c 1.68) */
|
||||
|
||||
/*
|
||||
@ -68,7 +68,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: midway.c,v 1.70 2006/04/14 22:30:13 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: midway.c,v 1.71 2006/05/10 21:53:16 mrg Exp $");
|
||||
|
||||
#include "opt_natm.h"
|
||||
|
||||
@ -2097,6 +2097,8 @@ int chan;
|
||||
u_int8_t *cp;
|
||||
struct ifnet *ifp;
|
||||
|
||||
memset(&launch, 0, sizeof launch); /* XXX gcc */
|
||||
|
||||
#ifdef EN_DEBUG
|
||||
printf("%s: tx%d: starting...\n", sc->sc_dev.dv_xname, chan);
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machfb.c,v 1.44 2006/04/19 17:41:24 macallan Exp $ */
|
||||
/* $NetBSD: machfb.c,v 1.45 2006/05/10 21:53:16 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Bang Jun-Young
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0,
|
||||
"$NetBSD: machfb.c,v 1.44 2006/04/19 17:41:24 macallan Exp $");
|
||||
"$NetBSD: machfb.c,v 1.45 2006/05/10 21:53:16 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -906,6 +906,8 @@ mach64_modeswitch(struct mach64_softc *sc, struct videomode *mode)
|
||||
{
|
||||
struct mach64_crtcregs crtc;
|
||||
|
||||
memset(&crtc, 0, sizeof crtc); /* XXX gcc */
|
||||
|
||||
if (mach64_calc_crtcregs(sc, &crtc, mode))
|
||||
return 1;
|
||||
|
||||
|
4
sys/dist/ipf/netinet/ip_nat.c
vendored
4
sys/dist/ipf/netinet/ip_nat.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ip_nat.c,v 1.9 2006/04/04 16:17:19 martti Exp $ */
|
||||
/* $NetBSD: ip_nat.c,v 1.10 2006/05/10 21:53:17 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995-2003 by Darren Reed.
|
||||
@ -2194,6 +2194,8 @@ int direction;
|
||||
qpktinfo_t *qpi = fin->fin_qpi;
|
||||
#endif
|
||||
|
||||
memset(&ni, 0, sizeof ni); /* XXX gcc */
|
||||
|
||||
if (nat_stats.ns_inuse >= ipf_nattable_max) {
|
||||
nat_stats.ns_memfail++;
|
||||
return NULL;
|
||||
|
4
sys/dist/ipf/netinet/ip_rpcb_pxy.c
vendored
4
sys/dist/ipf/netinet/ip_rpcb_pxy.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ip_rpcb_pxy.c,v 1.7 2005/12/11 12:24:21 christos Exp $ */
|
||||
/* $NetBSD: ip_rpcb_pxy.c,v 1.8 2006/05/10 21:53:17 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2002-2003 by Ryan Beasley <ryanb@goddamnbastard.org>
|
||||
@ -286,6 +286,8 @@ ippr_rpcb_out(fin, aps, nat)
|
||||
int rv, diff;
|
||||
mb_t *m;
|
||||
|
||||
rx = NULL; /* XXX gcc */
|
||||
|
||||
/* Disallow fragmented or illegally short packets. */
|
||||
if ((fin->fin_flx & (FI_FRAG|FI_SHORT)) != 0)
|
||||
return(APR_ERR(1));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_sig.c,v 1.218 2006/03/12 18:36:58 christos Exp $ */
|
||||
/* $NetBSD: kern_sig.c,v 1.219 2006/05/10 21:53:17 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.218 2006/03/12 18:36:58 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.219 2006/05/10 21:53:17 mrg Exp $");
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
#include "opt_compat_sunos.h"
|
||||
@ -2376,6 +2376,8 @@ __sigtimedwait1(struct lwp *l, void *v, register_t *retval,
|
||||
struct timespec ts;
|
||||
ksiginfo_t *ksi;
|
||||
|
||||
memset(&tvstart, 0, sizeof tvstart); /* XXX gcc */
|
||||
|
||||
MALLOC(waitset, sigset_t *, sizeof(sigset_t), M_TEMP, M_WAITOK);
|
||||
|
||||
if ((error = copyin(SCARG(uap, set), waitset, sizeof(sigset_t)))) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tty.c,v 1.180 2006/03/05 16:57:16 christos Exp $ */
|
||||
/* $NetBSD: tty.c,v 1.181 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1990, 1991, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.180 2006/03/05 16:57:16 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.181 2006/05/10 21:53:18 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -1650,6 +1650,9 @@ ttread(struct tty *tp, struct uio *uio, int flag)
|
||||
long lflag, slp;
|
||||
struct timeval stime;
|
||||
|
||||
stime.tv_usec = 0; /* XXX gcc */
|
||||
stime.tv_sec = 0; /* XXX gcc */
|
||||
|
||||
cc = tp->t_cc;
|
||||
p = curproc;
|
||||
error = 0;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bpf.c,v 1.115 2005/12/26 15:45:48 rpaulo Exp $ */
|
||||
/* $NetBSD: bpf.c,v 1.116 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1991, 1993
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.115 2005/12/26 15:45:48 rpaulo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.116 2006/05/10 21:53:18 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -592,6 +592,8 @@ bpf_write(struct file *fp, off_t *offp, struct uio *uio,
|
||||
int error, s;
|
||||
static struct sockaddr_storage dst;
|
||||
|
||||
m = NULL; /* XXX gcc */
|
||||
|
||||
if (d->bd_bif == 0)
|
||||
return (ENXIO);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* $NetBSD: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
/*
|
||||
* This file is derived from various .h and .c files from the zlib-1.0.4
|
||||
* distribution by Jean-loup Gailly and Mark Adler, with some additions
|
||||
@ -11,7 +11,7 @@
|
||||
* - added inflateIncomp and deflateOutputPending
|
||||
* - allow strm->next_out to be NULL, meaning discard the output
|
||||
*
|
||||
* $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $
|
||||
* $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $");
|
||||
|
||||
#define NO_DUMMY_DECL
|
||||
#define NO_ZCFUNCS
|
||||
@ -45,7 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $");
|
||||
subject to change. Applications should only use zlib.h.
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* @(#) $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
#ifndef _Z_UTIL_H
|
||||
#define _Z_UTIL_H
|
||||
@ -294,7 +294,7 @@ void zcfree __P((voidpf opaque, voidpf ptr));
|
||||
subject to change. Applications should only use zlib.h.
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* @(#) $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
#ifndef _DEFLATE_H
|
||||
#define _DEFLATE_H
|
||||
@ -656,7 +656,7 @@ void _tr_stored_type_only __P((deflate_state *));
|
||||
*
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* @(#) $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/* #include "deflate.h" */
|
||||
|
||||
@ -2030,7 +2030,7 @@ local block_state deflate_slow(s, flush)
|
||||
* Addison-Wesley, 1983. ISBN 0-201-06672-6.
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* @(#) $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/* #define GEN_TREES_H */
|
||||
|
||||
@ -4619,6 +4619,7 @@ uIntf *v; /* working area: values in order of bit length */
|
||||
int y; /* number of dummy codes added */
|
||||
uInt z; /* number of entries in current table */
|
||||
|
||||
r.base = 0; /* XXX gcc */
|
||||
|
||||
/* Generate counts for each bit length */
|
||||
p = c;
|
||||
@ -5908,7 +5909,7 @@ void zcfree (opaque, ptr)
|
||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zlib.c,v 1.25 2006/04/15 04:45:01 christos Exp $ */
|
||||
/* @(#) $Id: zlib.c,v 1.26 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/* #include "zlib.h" */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: in.c,v 1.106 2005/12/11 12:24:57 christos Exp $ */
|
||||
/* $NetBSD: in.c,v 1.107 2006/05/10 21:53:18 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -98,7 +98,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.106 2005/12/11 12:24:57 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.107 2006/05/10 21:53:18 mrg Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_inet_conf.h"
|
||||
@ -692,6 +692,7 @@ in_lifaddr_ioctl(struct socket *so, u_long cmd, caddr_t data,
|
||||
int cmp;
|
||||
|
||||
bzero(&mask, sizeof(mask));
|
||||
bzero(&match, sizeof(match)); /* XXX gcc */
|
||||
if (iflr->flags & IFLR_PREFIX) {
|
||||
/* lookup a prefix rather than address. */
|
||||
in_len2mask(&mask, iflr->prefixlen);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: smb_smb.c,v 1.26 2005/12/24 20:45:09 perry Exp $ */
|
||||
/* $NetBSD: smb_smb.c,v 1.27 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001 Boris Popov
|
||||
@ -38,7 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.26 2005/12/24 20:45:09 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.27 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -787,6 +787,8 @@ smb_read(struct smb_share *ssp, u_int16_t fid, struct uio *uio,
|
||||
int error = 0;
|
||||
int rx = (SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_READX);
|
||||
|
||||
resid = 0; /* XXX gcc */
|
||||
|
||||
tsize = uio->uio_resid;
|
||||
while (tsize > 0) {
|
||||
len = tsize;
|
||||
@ -866,6 +868,8 @@ smb_write(struct smb_share *ssp, u_int16_t fid, struct uio *uio,
|
||||
size_t len, tsize, resid;
|
||||
int wx = (SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_WRITEX);
|
||||
|
||||
resid = 0; /* XXX gcc */
|
||||
|
||||
tsize = uio->uio_resid;
|
||||
while (tsize > 0) {
|
||||
len = tsize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: smb_trantcp.c,v 1.21 2006/03/01 12:38:32 yamt Exp $ */
|
||||
/* $NetBSD: smb_trantcp.c,v 1.22 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001 Boris Popov
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_trantcp.c,v 1.21 2006/03/01 12:38:32 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_trantcp.c,v 1.22 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -447,6 +447,9 @@ nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp,
|
||||
int len, resid;
|
||||
int error, rcvflg;
|
||||
|
||||
len = 0; /* XXX gcc */
|
||||
rpcode = 0; /* XXX gcc */
|
||||
|
||||
if (so == NULL)
|
||||
return ENOTCONN;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nfs_serv.c,v 1.107 2006/04/15 01:58:44 christos Exp $ */
|
||||
/* $NetBSD: nfs_serv.c,v 1.108 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -55,7 +55,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.107 2006/04/15 01:58:44 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.108 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -237,6 +237,8 @@ nfsrv_setattr(nfsd, slp, lwp, mrq)
|
||||
struct timespec guard;
|
||||
struct mount *mp = NULL;
|
||||
|
||||
memset(&guard, 0, sizeof guard); /* XXX gcc */
|
||||
|
||||
fhp = &nfh.fh_generic;
|
||||
nfsm_srvmtofh(fhp);
|
||||
if ((mp = vfs_getvfs(&fhp->fh_fsid)) == NULL)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nfs_socket.c,v 1.128 2006/04/15 02:46:39 dogcow Exp $ */
|
||||
/* $NetBSD: nfs_socket.c,v 1.129 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1995
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.128 2006/04/15 02:46:39 dogcow Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.129 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
@ -1503,6 +1503,8 @@ nfs_rephead(siz, nd, slp, err, cache, frev, mrq, mbp, bposp)
|
||||
struct nfsuid *nuidp;
|
||||
struct timeval ktvin, ktvout;
|
||||
|
||||
memset(&ktvout, 0, sizeof ktvout); /* XXX gcc */
|
||||
|
||||
LIST_FOREACH(nuidp, NUIDHASH(slp, nd->nd_cr.cr_uid),
|
||||
nu_hash) {
|
||||
if (nuidp->nu_cr.cr_uid == nd->nd_cr.cr_uid &&
|
||||
@ -1931,6 +1933,8 @@ nfs_getreq(nd, nfsd, has_header)
|
||||
struct nfsuid *nuidp;
|
||||
struct timeval tvin, tvout;
|
||||
|
||||
memset(&tvout, 0, sizeof tvout); /* XXX gcc */
|
||||
|
||||
mrep = nd->nd_mrep;
|
||||
md = nd->nd_md;
|
||||
dpos = nd->nd_dpos;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.90 2006/04/15 01:35:12 christos Exp $ */
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.91 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.90 2006/04/15 01:35:12 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.91 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
@ -1264,6 +1264,8 @@ nfs_getnickauth(nmp, cred, auth_str, auth_len, verf_str, verf_len)
|
||||
u_int32_t *nickp, *verfp;
|
||||
struct timeval ktvin, ktvout;
|
||||
|
||||
memset(&ktvout, 0, sizeof ktvout); /* XXX gcc */
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
if (verf_len < (4 * NFSX_UNSIGNED))
|
||||
panic("nfs_getnickauth verf too small");
|
||||
@ -1337,6 +1339,8 @@ nfs_savenickauth(nmp, cred, len, key, mdp, dposp, mrep)
|
||||
char *dpos = *dposp, *cp2;
|
||||
int deltasec, error = 0;
|
||||
|
||||
memset(&ktvout, 0, sizeof ktvout); /* XXX gcc */
|
||||
|
||||
if (len == (3 * NFSX_UNSIGNED)) {
|
||||
nfsm_dissect(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
|
||||
ktvin.tv_sec = *tl++;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lfs_vfsops.c,v 1.207 2006/05/04 04:22:57 perseant Exp $ */
|
||||
/* $NetBSD: lfs_vfsops.c,v 1.208 2006/05/10 21:53:19 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
|
||||
@ -67,7 +67,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.207 2006/05/04 04:22:57 perseant Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.208 2006/05/10 21:53:19 mrg Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_quota.h"
|
||||
@ -1567,6 +1567,8 @@ lfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp)
|
||||
int error, retries;
|
||||
struct timespec ts;
|
||||
|
||||
memset(&ts, 0, sizeof ts); /* XXX gcc */
|
||||
|
||||
ump = VFSTOUFS(mp);
|
||||
dev = ump->um_dev;
|
||||
fs = ump->um_lfs;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: function.c,v 1.53 2006/02/20 16:31:02 jschauma Exp $ */
|
||||
/* $NetBSD: function.c,v 1.54 2006/05/10 21:53:20 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: function.c,v 1.53 2006/02/20 16:31:02 jschauma Exp $");
|
||||
__RCSID("$NetBSD: function.c,v 1.54 2006/05/10 21:53:20 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -808,6 +808,8 @@ f_fstype(plan, entry)
|
||||
static char fstype[MFSNAMELEN];
|
||||
char *p, save[2];
|
||||
|
||||
memset(&save, 0, sizeof save); /* XXX gcc */
|
||||
|
||||
/* Only check when we cross mount point. */
|
||||
if (first || curdev != entry->fts_statp->st_dev) {
|
||||
curdev = entry->fts_statp->st_dev;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ftp.c,v 1.139 2006/04/28 20:06:50 christos Exp $ */
|
||||
/* $NetBSD: ftp.c,v 1.140 2006/05/10 21:53:20 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996-2005 The NetBSD Foundation, Inc.
|
||||
@ -99,7 +99,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: ftp.c,v 1.139 2006/04/28 20:06:50 christos Exp $");
|
||||
__RCSID("$NetBSD: ftp.c,v 1.140 2006/05/10 21:53:20 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -612,6 +612,7 @@ sendrequest(const char *cmd, const char *local, const char *remote,
|
||||
(void)&oldintr;
|
||||
(void)&oldintp;
|
||||
(void)&lmode;
|
||||
fin = NULL; /* XXX gcc4 */
|
||||
#endif
|
||||
|
||||
hashbytes = mark;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tty.c,v 1.19 2005/07/19 23:07:10 christos Exp $ */
|
||||
/* $NetBSD: tty.c,v 1.20 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)tty.c 8.2 (Berkeley) 6/6/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: tty.c,v 1.19 2005/07/19 23:07:10 christos Exp $");
|
||||
__RCSID("$NetBSD: tty.c,v 1.20 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -82,6 +82,7 @@ grabh(struct header *hp, int gflags)
|
||||
(void)&extproc;
|
||||
# endif
|
||||
(void)&saveint;
|
||||
saveint = 0; /* XXX gcc */
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
savetstp = signal(SIGTSTP, SIG_DFL);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nl.c,v 1.6 2000/07/03 02:51:27 matt Exp $ */
|
||||
/* $NetBSD: nl.c,v 1.7 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
__COPYRIGHT(
|
||||
"@(#) Copyright (c) 1999\
|
||||
The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: nl.c,v 1.6 2000/07/03 02:51:27 matt Exp $");
|
||||
__RCSID("$NetBSD: nl.c,v 1.7 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
@ -310,7 +310,7 @@ filter()
|
||||
line = startnum;
|
||||
section = BODY;
|
||||
#ifdef __GNUC__
|
||||
(void)&donumber; /* avoid bogus `uninitialized' warning */
|
||||
donumber = 0; /* avoid bogus `uninitialized' warning */
|
||||
#endif
|
||||
|
||||
while (fgets(buffer, (int)buffersize, stdin) != NULL) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: keyboard.c,v 1.22 2005/02/26 22:12:33 dsl Exp $ */
|
||||
/* $NetBSD: keyboard.c,v 1.23 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1992, 1993
|
||||
@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
__RCSID("$NetBSD: keyboard.c,v 1.22 2005/02/26 22:12:33 dsl Exp $");
|
||||
__RCSID("$NetBSD: keyboard.c,v 1.23 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -57,6 +57,7 @@ keyboard(void)
|
||||
static char help[] = "help";
|
||||
static char quit[] = "quit";
|
||||
|
||||
ch = 0; /* XXX gcc */
|
||||
linesz = COLS - 2; /* XXX does not get updated on SIGWINCH */
|
||||
if ((line = malloc(linesz)) == NULL) {
|
||||
error("malloc failed");
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: usbhid.c,v 1.29 2006/05/01 05:04:02 christos Exp $ */
|
||||
/* $NetBSD: usbhid.c,v 1.30 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -38,7 +38,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: usbhid.c,v 1.29 2006/05/01 05:04:02 christos Exp $");
|
||||
__RCSID("$NetBSD: usbhid.c,v 1.30 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -351,6 +351,9 @@ hidmatch(u_int32_t const *collist, size_t collen, struct hid_item *item,
|
||||
for (colind = 0; vlactive > 0 && colind <= collen; colind++) {
|
||||
struct usagedata cache;
|
||||
|
||||
cache.page_len = 0; /* XXX gcc */
|
||||
cache.usage_len = 0; /* XXX gcc */
|
||||
|
||||
cache.isfinal = (colind == collen);
|
||||
if (cache.isfinal)
|
||||
cache.usage_id = item->usage;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cl_read.c,v 1.4 2002/04/09 01:47:30 thorpej Exp $ */
|
||||
/* $NetBSD: cl_read.c,v 1.5 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994
|
||||
@ -16,7 +16,7 @@
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)cl_read.c 10.15 (Berkeley) 9/24/96";
|
||||
#else
|
||||
__RCSID("$NetBSD: cl_read.c,v 1.4 2002/04/09 01:47:30 thorpej Exp $");
|
||||
__RCSID("$NetBSD: cl_read.c,v 1.5 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -64,6 +64,8 @@ cl_event(sp, evp, flags, ms)
|
||||
size_t lines, columns;
|
||||
int changed, nr;
|
||||
|
||||
nr = 0; /* XXX gcc */
|
||||
|
||||
/*
|
||||
* Queue signal based events. We never clear SIGHUP or SIGTERM events,
|
||||
* so that we just keep returning them until the editor dies.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ex_cscope.c,v 1.11 2005/06/07 13:36:28 he Exp $ */
|
||||
/* $NetBSD: ex_cscope.c,v 1.12 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1996
|
||||
@ -16,7 +16,7 @@
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)ex_cscope.c 10.13 (Berkeley) 9/15/96";
|
||||
#else
|
||||
__RCSID("$NetBSD: ex_cscope.c,v 1.11 2005/06/07 13:36:28 he Exp $");
|
||||
__RCSID("$NetBSD: ex_cscope.c,v 1.12 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -670,6 +670,8 @@ parse(sp, csc, tqp, matchesp)
|
||||
char *dname, *name, *search, *p, *t, dummy[2], buf[2048];
|
||||
|
||||
t = NULL; /* XXXGCC -Wuninitialized [dreamcast] */
|
||||
isolder = 0; /* XXX gcc */
|
||||
dname = NULL; /* XXX gcc */
|
||||
|
||||
for (;;) {
|
||||
if (!fgets(buf, sizeof(buf), csc->from_fp))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ex_tag.c,v 1.18 2005/06/02 04:25:16 lukem Exp $ */
|
||||
/* $NetBSD: ex_tag.c,v 1.19 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993, 1994
|
||||
@ -19,7 +19,7 @@
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)ex_tag.c 10.36 (Berkeley) 9/15/96";
|
||||
#else
|
||||
__RCSID("$NetBSD: ex_tag.c,v 1.18 2005/06/02 04:25:16 lukem Exp $");
|
||||
__RCSID("$NetBSD: ex_tag.c,v 1.19 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -1212,6 +1212,8 @@ ctag_sfile(sp, tfp, tqp, tname, slow_search)
|
||||
int fd, i, nf1, nf2;
|
||||
char *back, *cname, *dname, *front, *map, *name, *p, *search, *t;
|
||||
|
||||
dname = NULL; /* XXX gcc */
|
||||
|
||||
if ((fd = open(tfp->name, O_RDONLY, 0)) < 0) {
|
||||
tfp->errnum = errno;
|
||||
return (1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: v_txt.c,v 1.14 2005/09/06 21:30:36 aymeric Exp $ */
|
||||
/* $NetBSD: v_txt.c,v 1.15 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994
|
||||
@ -16,7 +16,7 @@
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)v_txt.c 10.87 (Berkeley) 10/13/96";
|
||||
#else
|
||||
__RCSID("$NetBSD: v_txt.c,v 1.14 2005/09/06 21:30:36 aymeric Exp $");
|
||||
__RCSID("$NetBSD: v_txt.c,v 1.15 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -293,6 +293,10 @@ v_txt(sp, vp, tm, lp, len, prompt, ai_line, rcount, flags)
|
||||
gp = sp->gp;
|
||||
vip = VIP(sp);
|
||||
evp = NULL; /* XXXGCC -Wuninitialized */
|
||||
wmt.offset = 0; /* XXX gcc */
|
||||
wmt.owrite = 0; /* XXX gcc */
|
||||
wmt.insert = 0; /* XXX gcc */
|
||||
wmt.lb = 0; /* XXX gcc */
|
||||
|
||||
/*
|
||||
* Set the input flag, so tabs get displayed correctly
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: qdisc_rio.c,v 1.3 2001/08/16 07:48:12 itojun Exp $ */
|
||||
/* $NetBSD: qdisc_rio.c,v 1.4 2006/05/10 21:53:48 mrg Exp $ */
|
||||
/* $KAME: qdisc_rio.c,v 1.4 2001/08/15 12:51:59 kjc Exp $ */
|
||||
/*
|
||||
* Copyright (C) 1999-2000
|
||||
@ -57,6 +57,7 @@ rio_stat_loop(int fd, const char *ifname, int count, int interval)
|
||||
double sec;
|
||||
int cnt = count;
|
||||
|
||||
memset(&last_bytes, 0, sizeof last_bytes); /* XXX gcc */
|
||||
bzero(&rio_stats, sizeof(rio_stats));
|
||||
strlcpy(rio_stats.iface.rio_ifname, ifname,
|
||||
sizeof(rio_stats.iface.rio_ifname));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: do_command.c,v 1.18 2006/02/25 02:28:58 wiz Exp $ */
|
||||
/* $NetBSD: do_command.c,v 1.19 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/* Copyright 1988,1990,1993,1994 by Paul Vixie
|
||||
* All rights reserved
|
||||
@ -22,7 +22,7 @@
|
||||
#if 0
|
||||
static char rcsid[] = "Id: do_command.c,v 2.12 1994/01/15 20:43:43 vixie Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: do_command.c,v 1.18 2006/02/25 02:28:58 wiz Exp $");
|
||||
__RCSID("$NetBSD: do_command.c,v 1.19 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -374,7 +374,7 @@ child_process(entry *e, user *u)
|
||||
int status = 0;
|
||||
|
||||
#ifdef __GNUC__
|
||||
(void) &mail; /* Avoid vfork clobbering */
|
||||
mail = NULL; /* XXX gcc */
|
||||
#endif
|
||||
Debug(DPROC|DEXT,
|
||||
("[%d] got data (%x:%c) from grandchild\n",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: slave.c,v 1.14 2003/08/07 11:25:47 agc Exp $ */
|
||||
/* $NetBSD: slave.c,v 1.15 2006/05/10 21:53:48 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1985, 1993 The Regents of the University of California.
|
||||
@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)slave.c 8.1 (Berkeley) 6/6/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: slave.c,v 1.14 2003/08/07 11:25:47 agc Exp $");
|
||||
__RCSID("$NetBSD: slave.c,v 1.15 2006/05/10 21:53:48 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -80,7 +80,7 @@ slave(void)
|
||||
struct netinfo *ntp;
|
||||
struct hosttbl *htp;
|
||||
|
||||
|
||||
memset(&cadr, 0, sizeof(cadr)); /* XXX gcc */
|
||||
old_slavenet = 0;
|
||||
seq = 0;
|
||||
refusetime = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user