summaryrefslogtreecommitdiffstats
path: root/newlib/libc/posix/seekdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/seekdir.c')
-rw-r--r--newlib/libc/posix/seekdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/posix/seekdir.c b/newlib/libc/posix/seekdir.c
index a945201c4..3965edabf 100644
--- a/newlib/libc/posix/seekdir.c
+++ b/newlib/libc/posix/seekdir.c
@@ -46,9 +46,9 @@ static char sccsid[] = "@(#)seekdir.c 5.7 (Berkeley) 6/1/90";
* _seekdir is in telldir.c so that it can share opaque data structures.
*/
void
-seekdir(dirp, loc)
- DIR *dirp;
- long loc;
+_DEFUN(seekdir, (dirp, loc),
+ DIR *dirp _AND
+ long loc)
{
#ifdef HAVE_DD_LOCK
__lock_acquire_recursive(dirp->dd_lock);