Remove some private symbols from librt

Private functions like __aio_read and _aio_read were exposed in
FBSDprivate_1.0 by r169090, even though they've never been used outside of
librt. Also, remove some weak references from r156136 that have never
resolved.

Reviewed by:	kib
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D11649
This commit is contained in:
Alan Somers 2017-07-20 16:24:29 +00:00
parent 27941afae6
commit 1bf9ff7603
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321295
3 changed files with 0 additions and 24 deletions

View File

@ -469,21 +469,13 @@ FBSDprivate_1.0 {
__sys_acct;
_adjtime;
__sys_adjtime;
_aio_cancel;
__sys_aio_cancel;
_aio_error;
__sys_aio_error;
_aio_fsync;
__sys_aio_fsync;
_aio_read;
__sys_aio_read;
_aio_return;
__sys_aio_return;
_aio_suspend;
__sys_aio_suspend;
_aio_waitcomplete;
__sys_aio_waitcomplete;
_aio_write;
__sys_aio_write;
_audit;
__sys_audit;
@ -727,7 +719,6 @@ FBSDprivate_1.0 {
__sys_lgetfh;
_link;
__sys_link;
_lio_listio;
__sys_lio_listio;
_listen;
__sys_listen;

View File

@ -31,16 +31,6 @@ FBSD_1.5 {
};
FBSDprivate_1.0 {
_aio_read;
_aio_write;
_aio_return;
_aio_waitcomplete;
_aio_fsync;
__aio_read;
__aio_write;
__aio_return;
__aio_waitcomplete;
__aio_fsync;
_mq_open;
_mq_close;
_mq_notify;

View File

@ -39,15 +39,10 @@
#include "sigev_thread.h"
#include "un-namespace.h"
__weak_reference(__aio_read, _aio_read);
__weak_reference(__aio_read, aio_read);
__weak_reference(__aio_write, _aio_write);
__weak_reference(__aio_write, aio_write);
__weak_reference(__aio_return, _aio_return);
__weak_reference(__aio_return, aio_return);
__weak_reference(__aio_waitcomplete, _aio_waitcomplete);
__weak_reference(__aio_waitcomplete, aio_waitcomplete);
__weak_reference(__aio_fsync, _aio_fsync);
__weak_reference(__aio_fsync, aio_fsync);
typedef void (*aio_func)(union sigval val, struct aiocb *iocb);