minor cleanup

This commit is contained in:
lukem 1997-10-17 04:31:55 +00:00
parent cfe268b782
commit 955c39c7ef
2 changed files with 17 additions and 20 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: apm.8,v 1.6 1997/10/03 05:37:05 mikel Exp $
.\" $NetBSD: apm.8,v 1.7 1997/10/17 04:31:55 lukem Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -46,7 +46,7 @@
.Op Fl z
.Op Fl f Ar sockname
.Br
.Nm apm
.Nm ""
.Op Fl z
.Op Fl S
.Op Fl s
@ -99,7 +99,7 @@ With no arguments,
.Nm zzz
places the system into suspend mode.
The command line flags serve the same purpose as for the
.Nm apm
.Nm
variant of this command.
.Pp
This command does not wait for positive confirmation that the requested

View File

@ -1,4 +1,4 @@
/* $NetBSD: apm.c,v 1.3 1997/07/30 22:53:55 jtc Exp $ */
/* $NetBSD: apm.c,v 1.4 1997/10/17 04:31:56 lukem Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -35,20 +35,22 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <err.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/un.h>
#include <machine/apmvar.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "pathnames.h"
#include "apm-proto.h"
@ -56,11 +58,6 @@
#define TRUE 1
extern char *__progname;
extern char *optarg;
extern int optind;
extern int optopt;
extern int opterr;
extern int optreset;
void usage(void);
void zzusage(void);