remove unnecessary externs

This commit is contained in:
lukem 1997-10-17 04:57:31 +00:00
parent e38303c1b4
commit e477b94d93
2 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: apmd.8,v 1.6 1997/10/03 05:37:06 mikel Exp $ .\" $NetBSD: apmd.8,v 1.7 1997/10/17 04:57:31 lukem Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -185,6 +185,6 @@ Advanced Power Management (APM) BIOS Interface Specification (revision
1.1), Intel Corporation and Microsoft Corporation. 1.1), Intel Corporation and Microsoft Corporation.
.Sh HISTORY .Sh HISTORY
The The
.Nm apmd .Nm
command appeared in command appeared in
.Nx 1.3 . .Nx 1.3 .

View File

@ -1,4 +1,4 @@
/* $NetBSD: apmd.c,v 1.6 1997/07/30 22:54:08 jtc Exp $ */ /* $NetBSD: apmd.c,v 1.7 1997/10/17 04:57:33 lukem Exp $ */
/*- /*-
* Copyright (c) 1996 The NetBSD Foundation, Inc. * Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -68,11 +68,6 @@ const char sockfile[] = _PATH_APM_SOCKET;
static int debug = 0; static int debug = 0;
extern char *__progname; extern char *__progname;
extern char *optarg;
extern int optind;
extern int optopt;
extern int opterr;
extern int optreset;
void usage (void); void usage (void);
int power_status (int fd, int force, struct apm_power_info *pinfo); int power_status (int fd, int force, struct apm_power_info *pinfo);
@ -296,7 +291,7 @@ resume(int ctl_fd)
do_etc_file(_PATH_APM_ETC_RESUME); do_etc_file(_PATH_APM_ETC_RESUME);
} }
void int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
const char *fname = apmdev; const char *fname = apmdev;