summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcompat/regexp/regexp.h3
-rw-r--r--libexec/ftpd/extern.h3
-rw-r--r--regress/lib/libc/ieeefp/except/except.c4
-rw-r--r--regress/lib/libevent/eventtest.c3
-rw-r--r--regress/sys/kern/ptmget/ptmget.c4
-rw-r--r--sbin/routed/radix.c3
6 files changed, 14 insertions, 6 deletions
diff --git a/lib/libcompat/regexp/regexp.h b/lib/libcompat/regexp/regexp.h
index d324f21c201..feeb112c274 100644
--- a/lib/libcompat/regexp/regexp.h
+++ b/lib/libcompat/regexp/regexp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: regexp.h,v 1.5 2003/06/02 20:18:40 millert Exp $ */
+/* $OpenBSD: regexp.h,v 1.6 2004/12/22 00:54:39 david Exp $ */
/* $NetBSD: regexp.h,v 1.3 1994/10/26 00:56:15 cgd Exp $ */
/*
@@ -72,6 +72,7 @@ regexp *v8_regcomp(const char *);
int v8_regexec(const regexp *, const char *);
void v8_regsub(const regexp *, const char *, char *);
void v8_regerror(const char *);
+void v8_setregerror(void (*)(const char *));
__END_DECLS
#endif /* !_REGEXP_H_ */
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h
index 13ad7e39b2e..04002bed97e 100644
--- a/libexec/ftpd/extern.h
+++ b/libexec/ftpd/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.14 2004/11/28 18:49:29 henning Exp $ */
+/* $OpenBSD: extern.h,v 1.15 2004/12/22 00:54:39 david Exp $ */
/* $NetBSD: extern.h,v 1.2 1995/04/11 02:44:49 cgd Exp $ */
/*
@@ -90,6 +90,7 @@ void removedir(char *);
void renamecmd(char *, char *);
char *renamefrom(char *);
void reply(int, const char *, ...);
+void reply_r(int, const char *, ...);
void retrieve(char *, char *);
void send_file_list(char *);
void setproctitle(const char *, ...);
diff --git a/regress/lib/libc/ieeefp/except/except.c b/regress/lib/libc/ieeefp/except/except.c
index 8bf0c81213c..22bd6809a85 100644
--- a/regress/lib/libc/ieeefp/except/except.c
+++ b/regress/lib/libc/ieeefp/except/except.c
@@ -1,5 +1,7 @@
-/* $OpenBSD: except.c,v 1.8 2004/10/10 03:06:42 mickey Exp $ */
+/* $OpenBSD: except.c,v 1.9 2004/12/22 00:54:39 david Exp $ */
+#include <sys/types.h>
+#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
diff --git a/regress/lib/libevent/eventtest.c b/regress/lib/libevent/eventtest.c
index 93dbbfd3a58..9c9f0395781 100644
--- a/regress/lib/libevent/eventtest.c
+++ b/regress/lib/libevent/eventtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eventtest.c,v 1.4 2004/11/25 16:48:47 brad Exp $ */
+/* $OpenBSD: eventtest.c,v 1.5 2004/12/22 00:54:39 david Exp $ */
/* $NetBSD: eventtest.c,v 1.3 2004/08/07 21:09:47 provos Exp $ */
/*
@@ -42,6 +42,7 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
+#include <err.h>
#include <event.h>
diff --git a/regress/sys/kern/ptmget/ptmget.c b/regress/sys/kern/ptmget/ptmget.c
index 943e2c4f0c3..24fb09b730f 100644
--- a/regress/sys/kern/ptmget/ptmget.c
+++ b/regress/sys/kern/ptmget/ptmget.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptmget.c,v 1.1 2004/01/18 20:56:22 beck Exp $ */
+/* $OpenBSD: ptmget.c,v 1.2 2004/12/22 00:54:39 david Exp $ */
/*
* Written by Bob Beck <beck@openbsd.org> 2004 Public Domain.
* Basic test to ensure /dev/ptm works, and what it returns
@@ -8,8 +8,10 @@
#include <fcntl.h>
#include <grp.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
+#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/sbin/routed/radix.c b/sbin/routed/radix.c
index 8a62fb73345..4c5e5b8cb71 100644
--- a/sbin/routed/radix.c
+++ b/sbin/routed/radix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radix.c,v 1.2 2004/04/25 16:28:32 itojun Exp $ */
+/* $OpenBSD: radix.c,v 1.3 2004/12/22 00:54:39 david Exp $ */
/* $NetBSD: radix.c,v 1.20 2003/08/07 16:32:56 agc Exp $ */
/*
@@ -45,6 +45,7 @@
#include <sys/domain.h>
#else
#include <stdlib.h>
+#include <string.h>
#endif
#include <sys/syslog.h>
#include <net/radix.h>