summaryrefslogtreecommitdiff
path: root/src/udev/udev-ctrl.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-13 03:34:24 +0100
committerKay Sievers <kay@vrfy.org>2013-11-13 03:34:24 +0100
commitb26618399ecc9a773dcb384dd1ad66309921e8e0 (patch)
treeab36f4b49b082d448941b451c4200345a0b6c019 /src/udev/udev-ctrl.c
parent64a9e4d76301dbd941a7eb5e9f7fd6e0306cb459 (diff)
udev: declare some symbols static
Diffstat (limited to 'src/udev/udev-ctrl.c')
-rw-r--r--src/udev/udev-ctrl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c
index 662bd33de8..9e503001bb 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/udev/udev-ctrl.c
@@ -140,7 +140,7 @@ struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl)
return uctrl->udev;
}
-struct udev_ctrl *udev_ctrl_ref(struct udev_ctrl *uctrl)
+static struct udev_ctrl *udev_ctrl_ref(struct udev_ctrl *uctrl)
{
if (uctrl == NULL)
return NULL;
@@ -416,14 +416,6 @@ err:
return NULL;
}
-struct udev_ctrl_msg *udev_ctrl_msg_ref(struct udev_ctrl_msg *ctrl_msg)
-{
- if (ctrl_msg == NULL)
- return NULL;
- ctrl_msg->refcount++;
- return ctrl_msg;
-}
-
struct udev_ctrl_msg *udev_ctrl_msg_unref(struct udev_ctrl_msg *ctrl_msg)
{
if (ctrl_msg == NULL)