summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-22 05:09:39 +0000
committermillert <millert@openbsd.org>1997-09-22 05:09:39 +0000
commit4ad6d459522aa1f51745a53e59f351c23e3c1c83 (patch)
tree55039e6704ff7af7aa319be7b0afec1e7ff3ede3 /lib/libc
parenterr.[ch] -> error.[ch] and fix err/warn usage. (diff)
downloadwireguard-openbsd-4ad6d459522aa1f51745a53e59f351c23e3c1c83.tar.xz
wireguard-openbsd-4ad6d459522aa1f51745a53e59f351c23e3c1c83.zip
Prototype __seekdir() before using.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/seekdir.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/seekdir.c b/lib/libc/gen/seekdir.c
index aaded344558..a2049ee8a9d 100644
--- a/lib/libc/gen/seekdir.c
+++ b/lib/libc/gen/seekdir.c
@@ -32,12 +32,14 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: seekdir.c,v 1.2 1996/08/19 08:25:43 tholo Exp $";
+static char rcsid[] = "$OpenBSD: seekdir.c,v 1.3 1997/09/22 05:09:39 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <dirent.h>
+void __seekdir __P((DIR *, long));
+
/*
* Seek to an entry in a directory.
* __seekdir is in telldir.c so that it can share opaque data structures.