diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-03-04 00:57:29 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:08 -0700 |
commit | d00bd1724bd9f75f5a7b8e0368428c2f0d6d3c26 (patch) | |
tree | 746590554d4dda2ae4eddbfb59f6cb2eefe48cb0 /udev.c | |
parent | 56c963dc4d8a65a8f2f23ae329f2088fabbf3303 (diff) |
[PATCH] overall trivial trivial cleanup
Here I try to make the style a bit more consistant in the different
files, so that new patches just copy the 'right' one :)
Some "magic" numbers are replaced and udevtest.c is catched up with udev.
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ char **main_argv; char **main_envp; #ifdef LOG -unsigned char logname[42]; +unsigned char logname[LOGNAME_SIZE]; void log_message(int level, const char *format, ...) { va_list args; @@ -74,7 +74,7 @@ static char *subsystem_blacklist[] = { "usb_host", "pci_bus", "pcmcia_socket", - "", + "" }; static int udev_hotplug(void) @@ -164,7 +164,7 @@ exit: return -retval; } -int main(int argc, char **argv, char **envp) +int main(int argc, char *argv[], char *envp[]) { main_argv = argv; main_envp = envp; |