From 8460299b572eb13e7b97a0956b59c053f9009afa Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 16 Oct 2008 18:13:48 +0200 Subject: [PATCH] rename udev source files --- extras/floppy/Makefile.am | 4 ++-- udev/Makefile.am | 18 +++++++++--------- udev/test-udev.c | 2 +- udev/{udev_device_event.c => udev-event.c} | 2 +- udev/{udev_node.c => udev-node.c} | 2 +- .../{udev_rules_parse.c => udev-rules-parse.c} | 2 +- udev/{udev_rules.c => udev-rules.c} | 2 +- udev/{udev_rules.h => udev-rules.h} | 0 udev/{udev_selinux.c => udev-selinux.c} | 0 udev/{udev_sysdeps.h => udev-sysdeps.h} | 0 udev/{udev_utils_file.c => udev-util-file.c} | 0 udev/{udev_utils.c => udev-util.c} | 0 udev/udev.h | 2 +- udev/udevadm-test.c | 2 +- udev/udevd.c | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) rename udev/{udev_device_event.c => udev-event.c} (99%) rename udev/{udev_node.c => udev-node.c} (99%) rename udev/{udev_rules_parse.c => udev-rules-parse.c} (99%) rename udev/{udev_rules.c => udev-rules.c} (99%) rename udev/{udev_rules.h => udev-rules.h} (100%) rename udev/{udev_selinux.c => udev-selinux.c} (100%) rename udev/{udev_sysdeps.h => udev-sysdeps.h} (100%) rename udev/{udev_utils_file.c => udev-util-file.c} (100%) rename udev/{udev_utils.c => udev-util.c} (100%) diff --git a/extras/floppy/Makefile.am b/extras/floppy/Makefile.am index 0b154498..c8126895 100644 --- a/extras/floppy/Makefile.am +++ b/extras/floppy/Makefile.am @@ -10,11 +10,11 @@ create_floppy_devices_SOURCES = \ ../../udev/lib/libudev.c \ ../../udev/lib/libudev-list.c \ ../../udev/lib/libudev-util.c \ - ../../udev/udev_utils.c + ../../udev/udev-util.c if USE_SELINUX create_floppy_devices_SOURCES += \ - ../../udev/udev_selinux.c + ../../udev/udev-selinux.c create_floppy_devices_LDADD = \ $(SELINUX_LIBS) endif diff --git a/udev/Makefile.am b/udev/Makefile.am index 9c765ffe..cbab15d3 100644 --- a/udev/Makefile.am +++ b/udev/Makefile.am @@ -14,14 +14,14 @@ common_ldadd = common_files = \ udev.h \ - udev_rules.h \ - udev_sysdeps.h \ - udev_device_event.c \ - udev_node.c \ - udev_rules.c \ - udev_rules_parse.c \ - udev_utils.c \ - udev_utils_file.c \ + udev-rules.h \ + udev-sysdeps.h \ + udev-event.c \ + udev-node.c \ + udev-rules.c \ + udev-rules-parse.c \ + udev-util.c \ + udev-util-file.c \ list.h \ lib/libudev.h \ lib/libudev-private.h \ @@ -37,7 +37,7 @@ common_files = \ if USE_SELINUX common_files += \ - udev_selinux.c + udev-selinux.c common_ldadd += \ $(SELINUX_LIBS) endif diff --git a/udev/test-udev.c b/udev/test-udev.c index 6c327a6e..43c97aeb 100644 --- a/udev/test-udev.c +++ b/udev/test-udev.c @@ -29,7 +29,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" static void asmlinkage sig_handler(int signum) { diff --git a/udev/udev_device_event.c b/udev/udev-event.c similarity index 99% rename from udev/udev_device_event.c rename to udev/udev-event.c index e5d71608..24f7c55b 100644 --- a/udev/udev_device_event.c +++ b/udev/udev-event.c @@ -29,7 +29,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" struct udev_event *udev_event_new(struct udev_device *dev) { diff --git a/udev/udev_node.c b/udev/udev-node.c similarity index 99% rename from udev/udev_node.c rename to udev/udev-node.c index 42576424..9f2b6cf0 100644 --- a/udev/udev_node.c +++ b/udev/udev-node.c @@ -28,7 +28,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" #define TMP_FILE_EXT ".udev-tmp" diff --git a/udev/udev_rules_parse.c b/udev/udev-rules-parse.c similarity index 99% rename from udev/udev_rules_parse.c rename to udev/udev-rules-parse.c index c42bd08c..354ed288 100644 --- a/udev/udev_rules_parse.c +++ b/udev/udev-rules-parse.c @@ -26,7 +26,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" void udev_rules_iter_init(struct udev_rules_iter *iter, struct udev_rules *rules) diff --git a/udev/udev_rules.c b/udev/udev-rules.c similarity index 99% rename from udev/udev_rules.c rename to udev/udev-rules.c index dfcd8753..8b94d40c 100644 --- a/udev/udev_rules.c +++ b/udev/udev-rules.c @@ -33,7 +33,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" extern char **environ; diff --git a/udev/udev_rules.h b/udev/udev-rules.h similarity index 100% rename from udev/udev_rules.h rename to udev/udev-rules.h diff --git a/udev/udev_selinux.c b/udev/udev-selinux.c similarity index 100% rename from udev/udev_selinux.c rename to udev/udev-selinux.c diff --git a/udev/udev_sysdeps.h b/udev/udev-sysdeps.h similarity index 100% rename from udev/udev_sysdeps.h rename to udev/udev-sysdeps.h diff --git a/udev/udev_utils_file.c b/udev/udev-util-file.c similarity index 100% rename from udev/udev_utils_file.c rename to udev/udev-util-file.c diff --git a/udev/udev_utils.c b/udev/udev-util.c similarity index 100% rename from udev/udev_utils.c rename to udev/udev-util.c diff --git a/udev/udev.h b/udev/udev.h index e486df36..d789d443 100644 --- a/udev/udev.h +++ b/udev/udev.h @@ -22,7 +22,7 @@ #include #include -#include "udev_sysdeps.h" +#include "udev-sysdeps.h" #include "lib/libudev.h" #include "lib/libudev-private.h" #include "list.h" diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c index 70da9ebf..090c5241 100644 --- a/udev/udevadm-test.c +++ b/udev/udevadm-test.c @@ -29,7 +29,7 @@ #include #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" int udevadm_test(struct udev *udev, int argc, char *argv[]) { diff --git a/udev/udevd.c b/udev/udevd.c index 15ec0fbb..1583e22a 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -40,7 +40,7 @@ #endif #include "udev.h" -#include "udev_rules.h" +#include "udev-rules.h" #define UDEVD_PRIORITY -4 #define UDEV_PRIORITY -2 -- 2.39.5