diff options
author | kib <kib@FreeBSD.org> | 2016-10-09 12:34:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-10-09 12:34:56 +0000 |
commit | 6e61756bbf707f0626aec12015add8b2b4cf21ee (patch) | |
tree | 0c7eb6f6f29ccb70c562b287e1f79e7bf9d5ba5c /include | |
parent | 777e9ecc9d73ca5877b5fa46308a1aefe426c1d6 (diff) | |
download | FreeBSD-src-6e61756bbf707f0626aec12015add8b2b4cf21ee.zip FreeBSD-src-6e61756bbf707f0626aec12015add8b2b4cf21ee.tar.gz |
MFC r306588:
Export the mq_getfd_np() and timer_oshandle_np() symbols from librt.so.
Diffstat (limited to 'include')
-rw-r--r-- | include/mqueue.h | 4 | ||||
-rw-r--r-- | include/time.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/mqueue.h b/include/mqueue.h index 788d0a1..e1c0f27 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -50,7 +50,9 @@ ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *); int mq_unlink(const char *); -int __mq_oshandle(mqd_t mqd); +#if __BSD_VISIBLE +int mq_getfd_np(mqd_t mqd); +#endif /* __BSD_VISIBLE */ __END_DECLS #endif diff --git a/include/time.h b/include/time.h index 14d6044..c172538 100644 --- a/include/time.h +++ b/include/time.h @@ -194,6 +194,7 @@ char *timezone(int, int); /* XXX XSI conflict */ void tzsetwall(void); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); +int timer_oshandle_np(timer_t timerid); #endif /* __BSD_VISIBLE */ #if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) |