* fix .Nm usage
* prototype main() for WARNS=1
This commit is contained in:
parent
048874c5e2
commit
0a96848668
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: swapctl.8,v 1.7 1997/08/03 05:48:10 mikel Exp $
|
||||
.\" $NetBSD: swapctl.8,v 1.8 1997/09/15 11:21:59 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997 Matthew R. Green
|
||||
.\" All rights reserved.
|
||||
@ -36,7 +36,7 @@
|
||||
.Nm swapctl
|
||||
.Nd system swap management tool
|
||||
.Sh SYNOPSIS
|
||||
.Nm swapctl
|
||||
.Nm
|
||||
.Fl A
|
||||
.Op Fl p Ar priority
|
||||
.Op Fl t Ar blk|noblk
|
||||
@ -215,7 +215,7 @@ The
|
||||
command and the
|
||||
.Fl d
|
||||
option of
|
||||
.Nm swapctl
|
||||
.Nm
|
||||
are not currently supported by
|
||||
.Nx .
|
||||
.Sh SEE ALSO
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: swapctl.c,v 1.5 1997/07/11 03:36:27 mikel Exp $ */
|
||||
/* $NetBSD: swapctl.c,v 1.6 1997/09/15 11:22:00 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Matthew R. Green
|
||||
@ -111,6 +111,7 @@ int pri; /* uses 0 as default pri */
|
||||
static void change_priority __P((char *));
|
||||
static void add_swap __P((char *));
|
||||
static void del_swap __P((char *));
|
||||
int main __P((int, char *[]));
|
||||
static void do_fstab __P((void));
|
||||
static void usage __P((void));
|
||||
static void swapon_command __P((int, char **));
|
||||
|
Loading…
x
Reference in New Issue
Block a user