summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/rewinddir.c6
-rw-r--r--lib/libc/gen/telldir.h5
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/gen/rewinddir.c b/lib/libc/gen/rewinddir.c
index 388d6404d27..2ac2554ba51 100644
--- a/lib/libc/gen/rewinddir.c
+++ b/lib/libc/gen/rewinddir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rewinddir.c,v 1.8 2007/10/02 16:14:58 kurt Exp $ */
+/* $OpenBSD: rewinddir.c,v 1.9 2007/10/12 22:41:42 chl Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,9 +32,7 @@
#include <dirent.h>
#include "thread_private.h"
-
-void __seekdir(DIR *, long);
-long __telldir_unlocked(DIR *);
+#include "telldir.h"
void
rewinddir(DIR *dirp)
diff --git a/lib/libc/gen/telldir.h b/lib/libc/gen/telldir.h
index 7991212d22d..982dd7763a4 100644
--- a/lib/libc/gen/telldir.h
+++ b/lib/libc/gen/telldir.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: telldir.h,v 1.2 2006/04/10 12:04:20 otto Exp $ */
+/* $OpenBSD: telldir.h,v 1.3 2007/10/12 22:41:42 chl Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -58,6 +58,7 @@ struct _telldir {
long td_last; /* last tell/seekdir */
};
-void __seekdir(DIR *, long);
+long _telldir_unlocked(DIR *);
+void __seekdir(DIR *, long);
#endif