summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-add.c')
-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;