summaryrefslogtreecommitdiff
path: root/bin/ls/util.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 23:42:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 23:42:13 +0000
commitb7e43e8440a0d47510d40dd5d9440dccf52a05f2 (patch)
tree20886296c48f50f9e7f28003e17761fd8acd14e0 /bin/ls/util.c
parenta760a3046bfab4c3721cea25480d9f998d1cf0e8 (diff)
ansification, art ok
Diffstat (limited to 'bin/ls/util.c')
-rw-r--r--bin/ls/util.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index 298a194cc83..29bb7f295d2 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.8 2003/06/02 23:32:08 millert Exp $ */
+/* $OpenBSD: util.c,v 1.9 2003/06/11 23:42:12 deraadt Exp $ */
/* $NetBSD: util.c,v 1.12 1995/09/07 06:43:02 jtc Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)util.c 8.5 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: util.c,v 1.8 2003/06/02 23:32:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: util.c,v 1.9 2003/06/11 23:42:12 deraadt Exp $";
#endif
#endif /* not lint */
@@ -54,8 +54,7 @@ static char rcsid[] = "$OpenBSD: util.c,v 1.8 2003/06/02 23:32:08 millert Exp $"
#include "extern.h"
int
-putname(name)
- char *name;
+putname(char *name)
{
int len;
@@ -65,7 +64,7 @@ putname(name)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr,
"usage: %s [-1ACFLRSTWacdfiklmnopqrstux] [file ...]\n",