Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tadpolectl Fix include.
details: https://anonhg.NetBSD.org/src/rev/7e0b83ac4dab
branches: trunk
changeset: 479730:7e0b83ac4dab
user: jdc <jdc%NetBSD.org@localhost>
date: Mon Dec 20 09:51:53 1999 +0000
description:
Fix include.
Add prototypes.
diffstat:
usr.sbin/tadpolectl/tadpolectl.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r abbfa3572b44 -r 7e0b83ac4dab usr.sbin/tadpolectl/tadpolectl.c
--- a/usr.sbin/tadpolectl/tadpolectl.c Mon Dec 20 09:51:07 1999 +0000
+++ b/usr.sbin/tadpolectl/tadpolectl.c Mon Dec 20 09:51:53 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tadpolectl.c,v 1.1 1999/12/17 05:30:03 garbled Exp $ */
+/* $NetBSD: tadpolectl.c,v 1.2 1999/12/20 09:51:53 jdc Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -46,13 +46,16 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/envsys.h>
-#include <sys/apmvar.h>
+#include <machine/apmvar.h>
#include <machine/tctrl.h>
int aflag, nflag, wflag, dev;
#define PROTO(x) int x __P((int, int, int));
+void usage __P((void));
+static void parse __P((char *));
char *dashdot __P((char *));
+int main __P((int, char *[]));
PROTO(hw_version)
PROTO(hw_microcontroller_version)
PROTO(hw_poweroncycles)
Home |
Main Index |
Thread Index |
Old Index