diff options
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -141,11 +141,3 @@ char *xstrndup(const char *str, size_t size) return cp; } - -int xdup(int fd) -{ - int ret = dup(fd); - if (unlikely(ret < 0)) - panic("xdup: dup failed\n"); - return ret; -} |