diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-12-17 00:27:19 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-12-17 00:27:19 +0100 |
commit | d2e7c6bf67b1b0d1f5d12ac533131c73bc046454 (patch) | |
tree | 5e5ce4d35a1ac17c66dec390975f1f791cdf5c11 /udev_libc_wrapper.h | |
parent | c602535043cbe74dfdcc5f2926e8518237602694 (diff) |
clearenv() is now part of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_libc_wrapper.h')
-rw-r--r-- | udev_libc_wrapper.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/udev_libc_wrapper.h b/udev_libc_wrapper.h index 824603b74c..a4d320fef2 100644 --- a/udev_libc_wrapper.h +++ b/udev_libc_wrapper.h @@ -138,14 +138,6 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask) #define SO_RCVBUFFORCE 33 #endif -#ifdef __KLIBC__ -static inline int clearenv(void) -{ - environ[0] = NULL; - return 0; -} -#endif - extern uid_t lookup_user(const char *user); extern gid_t lookup_group(const char *group); |