summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrml@tech9.net <rml@tech9.net>2003-10-21 21:45:19 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:04:09 -0700
commit6089318cd42a403b9816e7f5fc578f6888920b74 (patch)
treec970ad3197b997510d01cceee601806a352951fc
parentc2f17c9ea8a90d1c12158b947b3f8096404afe33 (diff)
[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'
-rw-r--r--udev-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-add.c b/udev-add.c
index 2b27855553..7d0bdadcb7 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;