Module Name: src
Committed By: dholland
Date: Sat Sep 5 06:15:24 UTC 2009
Modified Files:
src/usr.bin/skeyinfo: skeyinfo.c
Log Message:
ANSIfy and sort includes
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/skeyinfo/skeyinfo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/skeyinfo/skeyinfo.c
diff -u src/usr.bin/skeyinfo/skeyinfo.c:1.6 src/usr.bin/skeyinfo/skeyinfo.c:1.7
--- src/usr.bin/skeyinfo/skeyinfo.c:1.6 Sat Sep 5 06:13:34 2009
+++ src/usr.bin/skeyinfo/skeyinfo.c Sat Sep 5 06:15:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: skeyinfo.c,v 1.6 2009/09/05 06:13:34 dholland Exp $ */
+/* $NetBSD: skeyinfo.c,v 1.7 2009/09/05 06:15:24 dholland Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,23 +31,20 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: skeyinfo.c,v 1.6 2009/09/05 06:13:34 dholland Exp $");
+__RCSID("$NetBSD: skeyinfo.c,v 1.7 2009/09/05 06:15:24 dholland Exp $");
#endif
-#include <stdio.h>
-#include <pwd.h>
#include <err.h>
#include <errno.h>
-#include <skey.h>
+#include <pwd.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
-int main __P((int, char *[]));
+#include <skey.h> /* requires stdio.h */
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct skey skey;
char name[100], prompt[1024];