diff options
author | Kay Sievers <kay@vrfy.org> | 2013-11-13 03:34:24 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 15:11:03 -0500 |
commit | ad1d147331b8461e021978243a0c50dfe8e8e3e2 (patch) | |
tree | 8a45b325683e5d1ccb62ce61d406cbef8a2c54bc /src/libudev/libudev-device.c | |
parent | 826b79878d72684b3b6d4a4c9f22d82f24489a0d (diff) |
udev: declare some symbols static
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r-- | src/libudev/libudev-device.c | 4 |
1 files changed, 3 insertions, 1 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] != '/') { |