summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 23:19:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 23:19:54 +0000
commite5337c906c9940917af4381258373156a648125a (patch)
tree1d5ba23646376e4d9dbdfd47a1a9feb6fbdbda79 /lib
parentb8acdaf018f2fb7253cbfffca2ead9ed7cdd1d28 (diff)
simple protos
Diffstat (limited to 'lib')
-rw-r--r--lib/libkeynote/assertion.h6
-rw-r--r--lib/libkeynote/header.h4
-rw-r--r--lib/librpcsvc/rnusers.x8
-rw-r--r--lib/libskey/skeysubr.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/lib/libkeynote/assertion.h b/lib/libkeynote/assertion.h
index 0310f09c3c8..9ec28fc2920 100644
--- a/lib/libkeynote/assertion.h
+++ b/lib/libkeynote/assertion.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: assertion.h,v 1.4 2001/09/03 20:14:51 deraadt Exp $ */
+/* $OpenBSD: assertion.h,v 1.5 2003/06/26 23:19:53 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -167,6 +167,6 @@ extern void keynote_lex_remove(void *);
extern void keynote_cleanup_kth(void);
extern int keynote_retindex(char *);
extern void knerror(char *);
-extern int knparse();
-extern int knlex();
+extern int knparse(void);
+extern int knlex(void);
#endif /* __ASSERTION_H__ */
diff --git a/lib/libkeynote/header.h b/lib/libkeynote/header.h
index 18b172bfea7..0d5fe183c56 100644
--- a/lib/libkeynote/header.h
+++ b/lib/libkeynote/header.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: header.h,v 1.7 2001/09/03 20:14:51 deraadt Exp $ */
+/* $OpenBSD: header.h,v 1.8 2003/06/26 23:19:53 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -29,7 +29,7 @@ extern void print_key(FILE *, char *, char *, int, int);
extern void print_space(FILE *, int);
extern int read_environment(char *);
extern void parse_key(char *);
-extern int kvparse(), kvlex();
+extern int kvparse(void), kvlex(void);
extern void kverror(char *);
/* Variables */
diff --git a/lib/librpcsvc/rnusers.x b/lib/librpcsvc/rnusers.x
index f030bb195ed..3ee0dfc0eec 100644
--- a/lib/librpcsvc/rnusers.x
+++ b/lib/librpcsvc/rnusers.x
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnusers.x,v 1.9 2003/06/19 10:10:10 deraadt Exp $ */
+/* $OpenBSD: rnusers.x,v 1.10 2003/06/26 23:19:53 deraadt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -37,7 +37,7 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$OpenBSD: rnusers.x,v 1.9 2003/06/19 10:10:10 deraadt Exp $";
+%static char rcsid[] = "$OpenBSD: rnusers.x,v 1.10 2003/06/26 23:19:53 deraadt Exp $";
%#endif /* not lint */
#endif
@@ -74,7 +74,7 @@
% int uta_cnt;
%};
%typedef struct utmparr utmparr;
-%int xdr_utmparr();
+%int xdr_utmparr(XDR *, struct utmparr *);
%
%struct utmpidle {
% struct ru_utmp ui_utmp;
@@ -86,7 +86,7 @@
% int uia_cnt;
%};
%typedef struct utmpidlearr utmpidlearr;
-%int xdr_utmpidlearr();
+%int xdr_utmpidlearr(XDR *, struct utmpidlearr *);
%
%#define RUSERSVERS_1 ((u_long)1)
%#define RUSERSVERS_2 ((u_long)2)
diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c
index 30e38a0bd92..9a5d6f8be39 100644
--- a/lib/libskey/skeysubr.c
+++ b/lib/libskey/skeysubr.c
@@ -9,7 +9,7 @@
*
* S/Key misc routines.
*
- * $OpenBSD: skeysubr.c,v 1.26 2003/04/03 17:48:50 millert Exp $
+ * $OpenBSD: skeysubr.c,v 1.27 2003/06/26 23:19:53 deraadt Exp $
*/
#include <stdio.h>
@@ -276,7 +276,7 @@ rip(char *buf)
char *
readpass(char *buf, int n)
{
- void (*old_handler)();
+ void (*old_handler)(int);
/* Turn off echoing */
skey_echo(0);