summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-18 20:25:14 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-03-18 20:25:14 -0400
commita79d38412a259ac85ca76f8af6eeec6b1aab478f (patch)
tree9698dd572b00fe7abb459c4f3b1bb4ee881e44e1 /src/libudev/libudev-device.c
parentbf79b2d789b781e2291170ef48d501a2cf4dd820 (diff)
libudev: private - make property_from_string_parse* static
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r--src/libudev/libudev-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
index 7a6f59f014..242a0d89b6 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/libudev-device.c
@@ -454,7 +454,7 @@ static int udev_device_set_syspath(struct udev_device *udev_device, const char *
* udev_device_set_info_loaded() needs to be set, to avoid trying
* to use a device without a DEVPATH set
*/
-void udev_device_add_property_from_string_parse(struct udev_device *udev_device, const char *property)
+static void udev_device_add_property_from_string_parse(struct udev_device *udev_device, const char *property)
{
if (startswith(property, "DEVPATH=")) {
char path[UTIL_PATH_SIZE];
@@ -530,7 +530,7 @@ void udev_device_add_property_from_string_parse(struct udev_device *udev_device,
}
}
-int udev_device_add_property_from_string_parse_finish(struct udev_device *udev_device)
+static int udev_device_add_property_from_string_parse_finish(struct udev_device *udev_device)
{
if (udev_device->maj > 0)
udev_device_set_devnum(udev_device, makedev(udev_device->maj, udev_device->min));