]> err.no Git - systemd/commitdiff
[PATCH] udev: another canidate for static
authorrml@tech9.net <rml@tech9.net>
Wed, 22 Oct 2003 04:45:19 +0000 (21:45 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:04:09 +0000 (21:04 -0700)
Another one of those "trivial patches so everything must be good"

sleep_for_dev() isn't exported or defined in a header, so it can be
marked 'static'

udev-add.c

index 2b27855553885821342596dcc0dfab219674381a..7d0bdadcb75fe3821bdfe1dff57f6a7fce6027db 100644 (file)
@@ -128,7 +128,7 @@ exit:
  * If it doesn't happen in about 10 seconds, give up.
  */
 #define SECONDS_TO_WAIT_FOR_DEV                10
-int sleep_for_dev(char *path)
+static int sleep_for_dev(char *path)
 {
        char filename[SYSFS_PATH_MAX + 6];
        struct stat buf;