summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/libc-lock.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /libc/sysdeps/linux/mips/bits/libc-lock.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
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