Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/stand/setnetbootinfo clean up for compiler wa...
details: https://anonhg.NetBSD.org/src/rev/f899390b1738
branches: trunk
changeset: 471558:f899390b1738
user: cgd <cgd%NetBSD.org@localhost>
date: Mon Apr 05 02:55:38 1999 +0000
description:
clean up for compiler warning flags
diffstat:
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 2944a372076f -r f899390b1738 sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
--- a/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c Mon Apr 05 02:50:52 1999 +0000
+++ b/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c Mon Apr 05 02:55:38 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setnetbootinfo.c,v 1.9 1998/12/03 04:16:18 ross Exp $ */
+/* $NetBSD: setnetbootinfo.c,v 1.10 1999/04/05 02:55:38 cgd Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou
@@ -44,6 +44,9 @@
#include "stand/common/bbinfo.h"
+static void usage(void);
+int main(int argc, char *argv[]);
+
int verbose, force, unset;
char *netboot, *outfile, *addr, *host;
@@ -53,7 +56,7 @@
struct ether_addr *ether_addr, _ether_addr;
static void
-usage()
+usage(void)
{
fprintf(stderr, "usage:\n");
Home |
Main Index |
Thread Index |
Old Index