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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/posix/seekdir.c b/sysdeps/posix/seekdir.c
index f15a57cf70..5e774a16e8 100644
--- a/sysdeps/posix/seekdir.c
+++ b/sysdeps/posix/seekdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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);