diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/utils.h b/src/utils.h index d39c8e283..28b2845c6 100644 --- a/src/utils.h +++ b/src/utils.h @@ -46,13 +46,6 @@ char *appendToString(char *dest, const char *src); unsigned long readLEuint32(const unsigned char *p); /* trivial functions, keep them inlined */ -static inline int xopen(const char *path, int flags, mode_t mode) -{ - int fd; - while(0>(fd = open(path,flags,mode)) && errno == EINTR); - return fd; -} - static inline void xclose(int fd) { while (close(fd) && errno == EINTR); |