mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
[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.
This commit is contained in:
parent
31a6e02871
commit
92307b9e7b
5
udev.c
5
udev.c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user