summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-07 23:36:46 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-10 08:39:19 +0100
commit097e5f6b5af44c8cfc365b0b7a9d8e628e647607 (patch)
tree35ab9517fce0d80340b61cf574614d85ac1081ac /libpthread/nptl/sysdeps/unix/sysv/linux
parent48d8d11d697e7433e607b2519a022bd0ee415c12 (diff)
NPTL: Fix __pthread_once old style declaration
Trivial fix. Signed-Off-By: Leonid Lisovskiy <lly.dev@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c
index 393f0d7ff..7cf918e0d 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c
@@ -35,9 +35,7 @@ clear_once_control (void *arg)
int
attribute_protected
-__pthread_once (once_control, init_routine)
- pthread_once_t *once_control;
- void (*init_routine) (void);
+__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
while (1)
{