From: rml@tech9.net Date: Wed, 22 Oct 2003 04:45:19 +0000 (-0700) Subject: [PATCH] udev: another canidate for static X-Git-Tag: 005~29 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6089318cd42a403b9816e7f5fc578f6888920b74;p=systemd [PATCH] udev: another canidate for static 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' --- diff --git a/udev-add.c b/udev-add.c index 2b278555..7d0bdadc 100644 --- a/udev-add.c +++ b/udev-add.c @@ -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;