summaryrefslogtreecommitdiff
path: root/sysdeps/posix/seekdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/seekdir.c')
-rw-r--r--sysdeps/posix/seekdir.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/posix/seekdir.c b/sysdeps/posix/seekdir.c
index f15a57cf70..7119fe7258 100644
--- a/sysdeps/posix/seekdir.c
+++ b/sysdeps/posix/seekdir.c
@@ -24,9 +24,7 @@
/* Seek to position POS in DIRP. */
/* XXX should be __seekdir ? */
void
-seekdir (dirp, pos)
- DIR *dirp;
- long int pos;
+seekdir (DIR *dirp, long int pos)
{
__libc_lock_lock (dirp->lock);
(void) __lseek (dirp->fd, pos, SEEK_SET);