diff options
author | Kay Sievers <kay@vrfy.org> | 2013-11-13 03:34:24 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-11-13 03:34:24 +0100 |
commit | b26618399ecc9a773dcb384dd1ad66309921e8e0 (patch) | |
tree | ab36f4b49b082d448941b451c4200345a0b6c019 /src/libudev | |
parent | 64a9e4d76301dbd941a7eb5e9f7fd6e0306cb459 (diff) |
udev: declare some symbols static
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-device.c | 4 | ||||
-rw-r--r-- | src/libudev/libudev-private.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index a644904757..d7f672f187 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -36,6 +36,8 @@ #include "libudev.h" #include "libudev-private.h" +static int udev_device_set_devnode(struct udev_device *udev_device, const char *devnode); + /** * SECTION:libudev-device * @short_description: kernel sys devices @@ -1611,7 +1613,7 @@ int udev_device_set_syspath(struct udev_device *udev_device, const char *syspath return 0; } -int udev_device_set_devnode(struct udev_device *udev_device, const char *devnode) +static int udev_device_set_devnode(struct udev_device *udev_device, const char *devnode) { free(udev_device->devnode); if (devnode[0] != '/') { diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index f9d4bf62ce..af0f125c73 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -60,7 +60,6 @@ uid_t udev_device_get_devnode_uid(struct udev_device *udev_device); gid_t udev_device_get_devnode_gid(struct udev_device *udev_device); int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem); int udev_device_set_syspath(struct udev_device *udev_device, const char *syspath); -int udev_device_set_devnode(struct udev_device *udev_device, const char *devnode); 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); |