aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/bsd/telldir.c2
-rw-r--r--sysdeps/unix/dirstream.h2
2 files changed, 2 insertions, 2 deletions
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)