chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename udev source files
[elogind.git]
/
udev
/
lib
/
libudev-device.c
diff --git
a/udev/lib/libudev-device.c
b/udev/lib/libudev-device.c
index daf2217765ee373efc0b326696f77d7b27cd07f8..65ba6e30d83ef736389d413578e6877473a5e9bb 100644
(file)
--- a/
udev/lib/libudev-device.c
+++ b/
udev/lib/libudev-device.c
@@
-75,7
+75,7
@@
static size_t devpath_to_db_path(struct udev *udev, const char *devpath, char *f
return util_path_encode(&filename[start], len - start);
}
return util_path_encode(&filename[start], len - start);
}
-
static int
device_read_db(struct udev_device *udev_device)
+
int udev_
device_read_db(struct udev_device *udev_device)
{
struct stat stats;
char filename[UTIL_PATH_SIZE];
{
struct stat stats;
char filename[UTIL_PATH_SIZE];
@@
-220,7
+220,7
@@
static void device_load_info(struct udev_device *device)
{
device->info_loaded = 1;
udev_device_read_uevent_file(device);
{
device->info_loaded = 1;
udev_device_read_uevent_file(device);
- device_read_db(device);
+
udev_
device_read_db(device);
}
void udev_device_set_info_loaded(struct udev_device *device)
}
void udev_device_set_info_loaded(struct udev_device *device)