summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:21:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:21:31 +0000
commit26338e43318d829f3c1cedb85796f6e4aea706dd (patch)
treeeff56fbe0e3010545190be333eda8252da01244c /usr.bin/cdio
parent181ba6e4385032b6e9549c998561fef9971ff061 (diff)
sprinkle some ARGSUSED for table driven functions
Diffstat (limited to 'usr.bin/cdio')
-rw-r--r--usr.bin/cdio/cdio.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 80ed6032e8f..0ba3379a0b7 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.34 2004/07/30 11:59:03 jmc Exp $ */
+/* $OpenBSD: cdio.c,v 1.35 2004/09/14 22:21:30 deraadt Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -774,6 +774,7 @@ Clean_up:
return (0);
}
+/* ARGSUSED */
int
play_prev(char *arg)
{
@@ -798,6 +799,7 @@ play_prev(char *arg)
return (0);
}
+/* ARGSUSED */
int
play_same(char *arg)
{
@@ -817,6 +819,7 @@ play_same(char *arg)
return (0);
}
+/* ARGSUSED */
int
play_next(char *arg)
{
@@ -868,6 +871,7 @@ strstatus(int sts)
}
}
+/* ARGSUSED */
int
pstatus(char *arg)
{
@@ -908,7 +912,7 @@ pstatus(char *arg)
if (ss.data->what.media_catalog.mc_valid &&
ss.data->what.media_catalog.mc_number[0]) {
strvisx(vis_catalog,
- ss.data->what.media_catalog.mc_number,
+ (char *)ss.data->what.media_catalog.mc_number,
15, VIS_SAFE);
printf(", number \"%.15s\"", vis_catalog);
}
@@ -955,6 +959,7 @@ cdid(void)
return id ? 0 : 1;
}
+/* ARGSUSED */
int
info(char *arg)
{