summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/libc-lock.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/libc-lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/bits/libc-lock.h b/libc/sysdeps/linux/mips/bits/libc-lock.h
index dbd9cc14f..fa43d4839 100644
--- a/libc/sysdeps/linux/mips/bits/libc-lock.h
+++ b/libc/sysdeps/linux/mips/bits/libc-lock.h
@@ -200,6 +200,8 @@ typedef pthread_key_t __libc_key_t;
/* Functions that are used by this file and are internal to the GNU C
library. */
+__BEGIN_DECLS
+
extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
__const pthread_mutexattr_t *__mutex_attr);
@@ -250,6 +252,7 @@ extern int __pthread_atfork (void (*__prepare) (void),
void (*__parent) (void),
void (*__child) (void));
+__END_DECLS
/* Make the pthread functions weak so that we can elide them from