summaryrefslogtreecommitdiff
path: root/sbin/scsi
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 06:22:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 06:22:16 +0000
commit4e11c004395b80e095e2512274ee143f75b923f2 (patch)
tree7dd90385c7fc68e56457d473631e3db8896270d2 /sbin/scsi
parent5dd7b59250a41ff74475db0fc6290dc6b029d96d (diff)
ansification
Diffstat (limited to 'sbin/scsi')
-rw-r--r--sbin/scsi/scsi.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c
index c530c0beb66..67a319fc832 100644
--- a/sbin/scsi/scsi.c
+++ b/sbin/scsi/scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi.c,v 1.10 2003/03/13 05:00:45 deraadt Exp $ */
+/* $OpenBSD: scsi.c,v 1.11 2003/06/11 06:22:15 deraadt Exp $ */
/* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */
/*
@@ -76,10 +76,10 @@ int modepage = 0; /* Read this mode page */
int pagectl = 0; /* Mode sense page control */
int seconds = 2;
-void usage(void)
+void
+usage(void)
{
printf(
-
"Usage:\n"
"\n"
" scsi -f device -d debug_level # To set debug level\n"
@@ -103,12 +103,12 @@ void usage(void)
exit (1);
}
-void procargs(int *argc_p, char ***argv_p)
+void
+procargs(int *argc_p, char ***argv_p)
{
int argc = *argc_p;
char **argv = *argv_p;
- int fflag,
- ch;
+ int fflag, ch;
fflag = 0;
commandflag = 0;
@@ -191,7 +191,8 @@ struct get_hook
/* iget: Integer argument callback
*/
-int iget(void *hook, char *name)
+int
+iget(void *hook, char *name)
{
struct get_hook *h = (struct get_hook *)hook;
int arg;
@@ -212,7 +213,8 @@ int iget(void *hook, char *name)
/* cget: char * argument callback
*/
-char *cget(void *hook, char *name)
+char *
+cget(void *hook, char *name)
{
struct get_hook *h = (struct get_hook *)hook;
char *arg;