about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/dirstream.h2
-rw-r--r--sysdeps/unix/bsd/telldir.c2
-rw-r--r--sysdeps/unix/dirstream.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/dirstream.h b/sysdeps/mach/hurd/dirstream.h
index d17baf2b03..c13383dbd9 100644
--- a/sysdeps/mach/hurd/dirstream.h
+++ b/sysdeps/mach/hurd/dirstream.h
@@ -36,7 +36,7 @@ struct __dirstream
     int __entry_ptr;		/* Entry number `__ptr' corresponds to.  */
     unsigned long int __allocation; /* Space allocated for the block.  */
     unsigned long int __size;	/* Total valid data in the block.  */
-    __libc_lock_define (, __lock); /* Mutex lock for this structure.  */
+    __libc_lock_define (, __lock) /* Mutex lock for this structure.  */
   };
 
 #endif	/* dirstream.h */
diff --git a/sysdeps/unix/bsd/telldir.c b/sysdeps/unix/bsd/telldir.c
index 4400883357..a01b30248b 100644
--- a/sysdeps/unix/bsd/telldir.c
+++ b/sysdeps/unix/bsd/telldir.c
@@ -36,7 +36,7 @@ struct record
 #define NBUCKETS 32
 static struct record *records[32];
 static off_t lastpos;
-__libc_lock_define_initialized(static, lock); /* Locks above data.  */
+__libc_lock_define_initialized(static, lock) /* Locks above data.  */
 
 
 /* Return the current position of DIRP.  */
diff --git a/sysdeps/unix/dirstream.h b/sysdeps/unix/dirstream.h
index 3d2796778a..feeb74e7d9 100644
--- a/sysdeps/unix/dirstream.h
+++ b/sysdeps/unix/dirstream.h
@@ -40,7 +40,7 @@ struct __dirstream
 
     off_t filepos;		/* Position of next entry to read.  */
 
-    __libc_lock_define (, lock); /* Mutex lock for this structure.  */
+    __libc_lock_define (, lock) /* Mutex lock for this structure.  */
   };
 
 #define _DIR_dirfd(dirp)	((dirp)->fd)