summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/libc_private.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-02-17 01:03:06 +0000
committerkib <kib@FreeBSD.org>2015-02-17 01:03:06 +0000
commit0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc (patch)
tree6c211c0db8606bd913bc7ca6b008edcddc8f1cd3 /lib/libc/include/libc_private.h
parentc30b890b0bb2a5cdb5c6bf8b1b31ac21d986f650 (diff)
downloadFreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.zip
FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.tar.gz
MFC r278751:
Properly interpose libc spinlocks, was missed in r276630.
Diffstat (limited to 'lib/libc/include/libc_private.h')
-rw-r--r--lib/libc/include/libc_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index 347b463..7468f9d 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -95,6 +95,9 @@ do { \
_SPINUNLOCK(&__stdio_thread_lock); \
} while (0)
+void __libc_spinlock_stub(struct _spinlock *);
+void __libc_spinunlock_stub(struct _spinlock *);
+
/*
* Indexes into the pthread jump table.
*
@@ -216,6 +219,8 @@ enum {
INTERPOS_write,
INTERPOS_writev,
INTERPOS__pthread_mutex_init_calloc_cb,
+ INTERPOS_spinlock,
+ INTERPOS_spinunlock,
INTERPOS_MAX
};
OpenPOWER on IntegriCloud