chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f17c9
)
[PATCH] udev: another canidate for static
author
rml@tech9.net
<rml@tech9.net>
Wed, 22 Oct 2003 04:45:19 +0000
(21:45 -0700)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/udev-add.c
b/udev-add.c
index 2b27855553885821342596dcc0dfab219674381a..7d0bdadcb75fe3821bdfe1dff57f6a7fce6027db 100644
(file)
--- 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;