summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
authorrml@tech9.net <rml@tech9.net>2003-10-19 21:55:43 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:41 -0700
commitd7e954a4ef664cd65fbb34cb23ca57dc1bb89ea0 (patch)
treec1168072833683770d5ddbc94941a81a3b9d9ce9 /udev-add.c
parentfd14ee04ef9834516cd3b6ae4d07a3e4156e232e (diff)
[PATCH] udev: trivial trivialities
Yah yah, really trivial stuff... - get_class_device() doesn't need to be exported; it should be static - white space cleanup
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 116ab2b448..05f2aa3e9d 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -101,7 +101,7 @@ static int create_node(char *name, char type, int major, int minor, int mode)
return retval;
}
-struct sysfs_class_device *get_class_dev(char *device_name)
+static struct sysfs_class_device *get_class_dev(char *device_name)
{
char sysfs_path[SYSFS_PATH_MAX];
char dev_path[SYSFS_PATH_MAX];