From: Tom Gundersen Date: Thu, 5 Mar 2015 16:26:58 +0000 (+0100) Subject: libudev: private - make property_from_string_parse* static X-Git-Tag: v220~838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd57b6de74c6ff77f0220bf08d43a7e41f4316e9;p=platform%2Fupstream%2Fsystemd.git libudev: private - make property_from_string_parse* static --- diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index 9863901..d0296b7 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -439,7 +439,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]; @@ -515,7 +515,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)); diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index 9636304..cf8e0fd 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -46,8 +46,6 @@ int udev_device_rename(struct udev_device *udev_device, const char *new_name); int udev_device_add_devlink(struct udev_device *udev_device, const char *devlink); void udev_device_cleanup_devlinks_list(struct udev_device *udev_device); struct udev_list_entry *udev_device_add_property(struct udev_device *udev_device, const char *key, const char *value); -void udev_device_add_property_from_string_parse(struct udev_device *udev_device, const char *property); -int udev_device_add_property_from_string_parse_finish(struct udev_device *udev_device); char **udev_device_get_properties_envp(struct udev_device *udev_device); ssize_t udev_device_get_properties_monitor_buf(struct udev_device *udev_device, const char **buf); int udev_device_read_db(struct udev_device *udev_device, const char *dbfile);