aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2017-07-24 11:06:19 +0200
committerAndreas Schwab <schwab@suse.de>2017-07-24 12:22:05 +0200
commit55703fcace89b53d7f41f7d85ede50571da2bcc8 (patch)
tree60188bf123a639d8770b4c1141d13d558dae214a /sysdeps/nptl
parent2a28610f9ff05484130b71dfd525f031c4066166 (diff)
downloadglibc-55703fcace89b53d7f41f7d85ede50571da2bcc8.tar
glibc-55703fcace89b53d7f41f7d85ede50571da2bcc8.tar.gz
glibc-55703fcace89b53d7f41f7d85ede50571da2bcc8.tar.bz2
glibc-55703fcace89b53d7f41f7d85ede50571da2bcc8.zip
Remove extra semicolons in struct pthread_mutex (bug 21804)
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r--sysdeps/nptl/bits/thread-shared-types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/nptl/bits/thread-shared-types.h b/sysdeps/nptl/bits/thread-shared-types.h
index 1e45f2d8ce..68b82b6bd6 100644
--- a/sysdeps/nptl/bits/thread-shared-types.h
+++ b/sysdeps/nptl/bits/thread-shared-types.h
@@ -77,7 +77,7 @@ typedef struct __pthread_internal_slist
# if __WORDSIZE == 64
# define __PTHREAD_SPINS_DATA \
short __spins; \
- short __elision;
+ short __elision
# define __PTHREAD_SPINS 0, 0
# else
# define __PTHREAD_SPINS_DATA \
@@ -107,7 +107,7 @@ struct __pthread_mutex_s
/* KIND must stay at this position in the structure to maintain
binary compatibility with static initializers. */
int __kind;
- __PTHREAD_COMPAT_PADDING_MID;
+ __PTHREAD_COMPAT_PADDING_MID
#if __WORDSIZE == 64
__PTHREAD_SPINS_DATA;
__pthread_list_t __list;
@@ -120,7 +120,7 @@ struct __pthread_mutex_s
__pthread_slist_t __list;
};
#endif
- __PTHREAD_COMPAT_PADDING_END;
+ __PTHREAD_COMPAT_PADDING_END
};