diff options
author | patmans@us.ibm.com <patmans@us.ibm.com> | 2004-10-15 18:18:54 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:02:44 -0700 |
commit | 92307b9e7bb08e1086d213617df3552e3ff53d75 (patch) | |
tree | 7e0214675399ebba858705d426d3be78b3543a57 /udev.c | |
parent | 31a6e02871315a298b906b0915c779369dcf3f62 (diff) |
[PATCH] move assignments past local variables
I'm using an older C compiler, and it doesn't like assignments mixed with
declarations, but this is also a style cleanup.
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -106,8 +106,6 @@ static int subsystem_without_dev(const char *subsystem) int main(int argc, char *argv[], char *envp[]) { - main_argv = argv; - main_envp = envp; struct sigaction act; char *action; char *devpath = ""; @@ -121,6 +119,9 @@ int main(int argc, char *argv[], char *envp[]) dbg("version %s", UDEV_VERSION); + main_argv = argv; + main_envp = envp; + init_logging("udev"); udev_init_config(); |