diff options
author | Mattias Andrée <maandree@kth.se> | 2018-08-29 16:51:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-08-29 16:52:38 +0200 |
commit | 7f397be7159a28d459d8f4ba6b934ab86458d633 (patch) | |
tree | 87be67fa6baf8e5b6d548084b80bf038c9a91912 /libsimple.h | |
parent | Add tests for strtotimespec and strtotimeval (diff) | |
download | libsimple-7f397be7159a28d459d8f4ba6b934ab86458d633.tar.gz libsimple-7f397be7159a28d459d8f4ba6b934ab86458d633.tar.bz2 libsimple-7f397be7159a28d459d8f4ba6b934ab86458d633.tar.xz |
Remove sendfd, recvfd, recvfrom_timestamped, and recv_timestamped for now
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsimple.h')
-rw-r--r-- | libsimple.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libsimple.h b/libsimple.h index 6681aad..1d8abf5 100644 --- a/libsimple.h +++ b/libsimple.h @@ -1346,36 +1346,6 @@ libsimple_eprintf(const char *__fmt, ...) #endif -int libsimple_sendfd(int, int); -#ifndef sendfd -# define sendfd libsimple_sendfd -#endif - -_LIBSIMPLE_GCC_ONLY(__attribute__((__warn_unused_result__))) -int libsimple_recvfd(int); -#ifndef recvfd -# define recvfd libsimple_recvfd -#endif - -_LIBSIMPLE_GCC_ONLY(__attribute__((__warn_unused_result__))) -ssize_t libsimple_recvfrom_timestamped(int, void *restrict, size_t, int, struct sockaddr *restrict, - socklen_t, struct timespec *restrict); -#ifndef recvfrom_timestamped -# define recvfrom_timestamped libsimple_recvfrom_timestamped -#endif - -_LIBSIMPLE_GCC_ONLY(__attribute__((__warn_unused_result__))) -static inline ssize_t -libsimple_recv_timestamped(int __fd, void *restrict __buf, size_t __n, /* TODO test */ - int __flags, struct timespec *restrict __ts) -{ - return libsimple_recvfrom_timestamped(__fd, __buf, __n, __flags, NULL, 0, __ts); -} -#ifndef recv_timestamped -# define recv_timestamped libsimple_recv_timestamped -#endif - - _LIBSIMPLE_GCC_ONLY(__attribute__((__nonnull__))) int libsimple_sumtimespec(struct timespec *, const struct timespec *, const struct timespec *); #ifndef sumtimespec |