summary refs log tree commit diff
path: root/sysdeps/posix/rewinddir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/rewinddir.c')
-rw-r--r--sysdeps/posix/rewinddir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/posix/rewinddir.c b/sysdeps/posix/rewinddir.c
index 5a4a7154ab..e9bc78d073 100644
--- a/sysdeps/posix/rewinddir.c
+++ b/sysdeps/posix/rewinddir.c
@@ -23,7 +23,7 @@
 
 /* Rewind DIRP to the beginning of the directory.  */
 void
-rewinddir (dirp)
+__rewinddir (dirp)
      DIR *dirp;
 {
 #ifndef NOT_IN_libc
@@ -38,4 +38,5 @@ rewinddir (dirp)
   __libc_lock_unlock (dirp->lock);
 #endif
 }
-libc_hidden_def (rewinddir)
+libc_hidden_def (__rewinddir)
+weak_alias (__rewinddir, rewinddir)