summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-18 19:38:08 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-03-18 19:56:01 -0400
commit5c3965d1a89539ad6042bbfdcc844fc9ed8aa379 (patch)
tree07ea294763228c5a0ae10b16568ca65b48811a65 /src/libudev/libudev-private.h
parentced0d2419e3fc88e29f8076363deb4214b87f0f2 (diff)
libudev: udev_device_add_property - implicitly mark properties for saving to db
Note: We also ported touch() and touch_file() from upstream. -AGB. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r--src/libudev/libudev-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h
index 6f79b999ce..db64890ff9 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/libudev-private.h
@@ -45,7 +45,7 @@ gid_t udev_device_get_devnode_gid(struct udev_device *udev_device);
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);
+int 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);