diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2008-09-02 23:19:36 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-02 23:19:36 +0200 |
commit | 593453115b777368252ca4231537ad2a9e6d8ffb (patch) | |
tree | 305fb4d30b29ac98e01e7cb268646b0a7e2480e6 /udev/udev.h | |
parent | 44aff4cd6d74d230e4a97f8d59f780472b7cad6e (diff) |
remove deprecated envp[] in main()
envp is not standardized, and may become invalid when environment variables
are modified. Since udev never actually uses it, we can simply remove it.
Should anyone miss it in future, they can use the standardized environ
variable - like udev_rules.c does already.
Diffstat (limited to 'udev/udev.h')
-rw-r--r-- | udev/udev.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/udev/udev.h b/udev/udev.h index 94456749a8..da86365056 100644 --- a/udev/udev.h +++ b/udev/udev.h @@ -168,11 +168,11 @@ extern int unlink_secure(const char *filename); extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur); /* udev commands */ -extern int udevmonitor(int argc, char *argv[], char *envp[]); -extern int udevinfo(int argc, char *argv[], char *envp[]); -extern int udevcontrol(int argc, char *argv[], char *envp[]); -extern int udevtrigger(int argc, char *argv[], char *envp[]); -extern int udevsettle(int argc, char *argv[], char *envp[]); -extern int udevtest(int argc, char *argv[], char *envp[]); +extern int udevmonitor(int argc, char *argv[]); +extern int udevinfo(int argc, char *argv[]); +extern int udevcontrol(int argc, char *argv[]); +extern int udevtrigger(int argc, char *argv[]); +extern int udevsettle(int argc, char *argv[]); +extern int udevtest(int argc, char *argv[]); #endif |