summaryrefslogtreecommitdiff
path: root/udev/udevtrigger.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2008-09-02 23:19:36 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-02 23:19:36 +0200
commit593453115b777368252ca4231537ad2a9e6d8ffb (patch)
tree305fb4d30b29ac98e01e7cb268646b0a7e2480e6 /udev/udevtrigger.c
parent44aff4cd6d74d230e4a97f8d59f780472b7cad6e (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/udevtrigger.c')
-rw-r--r--udev/udevtrigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevtrigger.c b/udev/udevtrigger.c
index 3dd9109b8b..4a8f62ab5c 100644
--- a/udev/udevtrigger.c
+++ b/udev/udevtrigger.c
@@ -562,7 +562,7 @@ static void scan_failed(void)
}
}
-int udevtrigger(int argc, char *argv[], char *envp[])
+int udevtrigger(int argc, char *argv[])
{
int failed = 0;
const char *sockpath = NULL;