diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-01-09 14:02:56 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 14:02:56 -0500 |
commit | 855ce449eba82c417c005d17aa680aba2048ed8d (patch) | |
tree | 9c9c5c9cdd30ed2dfbbdef820118124e891b6662 /src/libudev/Makefile.am | |
parent | 7ed87c74dfb81761cbcefc10cd4f79394a1d36a3 (diff) |
device-nodes: move device node specific code to own file
In the process, rename udev_encode_string which is poorly named
for what it does. It deals specifically with encoding names that
udev creates and has its own rules: utf8 is valid but some ascii
is not (e.g. path separators), and everything else is simply escaped.
Rename it to encode_devnode_name.
Adopted for eudev: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/Makefile.am')
-rw-r--r-- | src/libudev/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am index 568c4884b4..5211550857 100644 --- a/src/libudev/Makefile.am +++ b/src/libudev/Makefile.am @@ -35,6 +35,7 @@ libudev_la_SOURCES =\ libudev-hwdb.c \ cgroup-util.c \ conf-files.c \ + device-nodes.c \ exit-status.c \ hashmap.c \ log.c \ @@ -52,6 +53,7 @@ noinst_HEADERS = \ cgroup-util.h \ conf-files.h \ def.h \ + device-nodes.h \ exit-status.h \ hashmap.h \ ioprio.h \ |