mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 11:14:47 +08:00
Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
This commit is contained in:
@@ -233,6 +233,7 @@ enum {
|
||||
INTERPOS_ppoll,
|
||||
INTERPOS_map_stacks_exec,
|
||||
INTERPOS_fdatasync,
|
||||
INTERPOS_clock_nanosleep,
|
||||
INTERPOS_MAX
|
||||
};
|
||||
|
||||
@@ -322,6 +323,8 @@ int __sys_aio_suspend(const struct aiocb * const[], int,
|
||||
int __sys_accept(int, struct sockaddr *, __socklen_t *);
|
||||
int __sys_accept4(int, struct sockaddr *, __socklen_t *, int);
|
||||
int __sys_clock_gettime(__clockid_t, struct timespec *ts);
|
||||
int __sys_clock_nanosleep(__clockid_t, int,
|
||||
const struct timespec *, struct timespec *);
|
||||
int __sys_close(int);
|
||||
int __sys_connect(int, const struct sockaddr *, __socklen_t);
|
||||
int __sys_fcntl(int, int, ...);
|
||||
@@ -405,4 +408,6 @@ void __libc_map_stacks_exec(void);
|
||||
void _pthread_cancel_enter(int);
|
||||
void _pthread_cancel_leave(int);
|
||||
|
||||
void __throw_constraint_handler_s(const char * restrict msg, int error);
|
||||
|
||||
#endif /* _LIBC_PRIVATE_H_ */
|
||||
|
@@ -48,6 +48,7 @@
|
||||
#define bind _bind
|
||||
#define __cap_get_fd ___cap_get_fd
|
||||
#define __cap_set_fd ___cap_set_fd
|
||||
#define clock_nanosleep _clock_nanosleep
|
||||
#define close _close
|
||||
#define connect _connect
|
||||
#define dup _dup
|
||||
@@ -209,6 +210,7 @@
|
||||
#define sem_open _sem_open
|
||||
#define sem_post _sem_post
|
||||
#define sem_timedwait _sem_timedwait
|
||||
#define sem_clockwait_np _sem_clockwait_np
|
||||
#define sem_trywait _sem_trywait
|
||||
#define sem_unlink _sem_unlink
|
||||
#define sem_wait _sem_wait
|
||||
|
@@ -38,6 +38,7 @@
|
||||
#undef bind
|
||||
#undef __cap_get_fd
|
||||
#undef __cap_set_fd
|
||||
#undef clock_nanosleep
|
||||
#undef close
|
||||
#undef connect
|
||||
#undef dup
|
||||
@@ -199,6 +200,7 @@
|
||||
#undef sem_open
|
||||
#undef sem_post
|
||||
#undef sem_timedwait
|
||||
#undef sem_clockwait_np
|
||||
#undef sem_trywait
|
||||
#undef sem_unlink
|
||||
#undef sem_wait
|
||||
|
Reference in New Issue
Block a user