chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c602535
)
clearenv() is now part of klibc
author
Kay Sievers
<kay.sievers@suse.de>
Fri, 16 Dec 2005 23:27:19 +0000
(
00:27
+0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Fri, 16 Dec 2005 23:27:19 +0000
(
00:27
+0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udev_libc_wrapper.h
patch
|
blob
|
history
diff --git
a/udev_libc_wrapper.h
b/udev_libc_wrapper.h
index 824603b74c5f4590e3a7fabf415aaa3e8c9fa234..a4d320fef2dad37b6f32bbcc7c179422ed1bd616 100644
(file)
--- 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);