diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-15 20:20:16 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-15 20:20:16 +0100 |
commit | ec2dd02e2a2748134f9c8347e12b802b42dea6b5 (patch) | |
tree | 657c7c50234f9c559ac7cb65cc2253361e29c609 /udev/udev.h | |
parent | 64b333fdcc69798ab7874cf042d590b3f2d990b5 (diff) |
udevadm: test - remove --force option
Since a while we change the database with a "test" run, but do not update
the node and symlinks. We need to "force" all the time, to keep things
in sync.
Diffstat (limited to 'udev/udev.h')
-rw-r--r-- | udev/udev.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/udev/udev.h b/udev/udev.h index ea8c8d919d..d1b207196e 100644 --- a/udev/udev.h +++ b/udev/udev.h @@ -76,7 +76,6 @@ struct udev_event { unsigned int run_final:1; unsigned int ignore_device:1; unsigned int trace:1; - unsigned int test:1; }; /* udev-rules.c */ @@ -96,9 +95,9 @@ extern int udev_event_apply_subsys_kernel(struct udev_event *event, const char * /* udev-node.c */ extern int udev_node_mknod(struct udev_device *dev, const char *file, dev_t devnum, mode_t mode, uid_t uid, gid_t gid); -extern int udev_node_add(struct udev_device *dev, mode_t mode, uid_t uid, gid_t gid, int test); -extern int udev_node_remove(struct udev_device *dev, int test); -extern void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old, int test); +extern int udev_node_add(struct udev_device *dev, mode_t mode, uid_t uid, gid_t gid); +extern int udev_node_remove(struct udev_device *dev); +extern void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old); /* udev-util.c */ extern int util_create_path(struct udev *udev, const char *path); |