summaryrefslogtreecommitdiff
path: root/usr.bin/sectok/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sectok/main.c')
-rw-r--r--usr.bin/sectok/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/sectok/main.c b/usr.bin/sectok/main.c
index 19651c035b6..d0085816ad0 100644
--- a/usr.bin/sectok/main.c
+++ b/usr.bin/sectok/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.8 2002/06/17 07:10:52 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.9 2003/08/04 17:06:46 deraadt Exp $ */
/*
* Smartcard commander.
@@ -55,7 +55,7 @@ int port, fd = -1, cla, sleepytime;
volatile sig_atomic_t interrupted;
FILE *cmdf;
-void
+static void
usage(void)
{
fprintf(stderr,
@@ -64,9 +64,7 @@ usage(void)
}
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
char buf[_POSIX2_LINE_MAX], *scriptfile = NULL, *tp, *tv[MAXTOKENS];
int i, tc;