summaryrefslogtreecommitdiff
path: root/libexec/makekey
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-06 16:51:09 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-06 16:51:09 +0000
commit32ce1b8d9e8875d8621d674f8af6ba4f5b792afa (patch)
treeddbe99a0f34fcf8c2d9cc519325b733c2dc9285e /libexec/makekey
parent0b3356e19ebf9d1f340db3b4d557befea86d67f8 (diff)
Notes
Diffstat (limited to 'libexec/makekey')
-rw-r--r--libexec/makekey/makekey.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libexec/makekey/makekey.c b/libexec/makekey/makekey.c
index 5f9dc04b18a7..2b541bf87b63 100644
--- a/libexec/makekey/makekey.c
+++ b/libexec/makekey/makekey.c
@@ -54,10 +54,10 @@ static const char rcsid[] =
#include <string.h>
#include <unistd.h>
-static void get __P((char *, int));
+static void get(char *, int);
int
-main()
+main(int argc __unused, char *argv[] __unused)
{
int len;
char *r, key[9], salt[3];
@@ -71,11 +71,9 @@ main()
}
static void
-get(bp, len)
- char *bp;
- register int len;
+get(char *bp, int len)
{
- register int nr;
+ int nr;
bp[len] = '\0';
if ((nr = read(STDIN_FILENO, bp, len)) == len)