summaryrefslogtreecommitdiff
path: root/usr.bin/sectok/main.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-04 17:06:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-04 17:06:47 +0000
commit2cfce70a334e204eaabf44bc5f91cb696d94d66e (patch)
tree6955a638c6a14a88b5c60c0ce1802cf30bb652ce /usr.bin/sectok/main.c
parent55dba1b6d03606c598bd59b20b8cc1ad58b474c3 (diff)
protos
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;