about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c
index 92196ac50a..4ea90a7320 100644
--- a/sysdeps/posix/getcwd.c
+++ b/sysdeps/posix/getcwd.c
@@ -253,7 +253,7 @@ __getcwd (buf, size)
   while (!(thisdev == rootdev && thisino == rootino))
     {
       register DIR *dirstream;
-      register struct dirent *d;
+      struct dirent *d;
 #if defined HAVE_READDIR_R || defined _LIBC
       struct dirent dirbuf;
 #endif