summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-19 15:45:27 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-19 16:11:47 +0100
commit2e4089f30007e79bc157c775cfd3b326d22f2992 (patch)
tree18fe8842961b4e22a0e857748d6d40476909fd17 /daemon
parent6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d (diff)
downloadlibguestfs-2e4089f30007e79bc157c775cfd3b326d22f2992.tar.gz
libguestfs-2e4089f30007e79bc157c775cfd3b326d22f2992.tar.xz
libguestfs-2e4089f30007e79bc157c775cfd3b326d22f2992.zip
build: Rename most C files that contain underscore with dash.
This is just code motion. Some files cannot be renamed. Notably rpcgen input and output files must not contain dash characters, else rpcgen breaks.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/Makefile.am12
-rw-r--r--daemon/echo-daemon.c (renamed from daemon/echo_daemon.c)0
2 files changed, 6 insertions, 6 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index afe88741..c43807e5 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -28,8 +28,8 @@ BUILT_SOURCES = \
$(generator_built) \
guestfs_protocol.c \
guestfs_protocol.h \
- errnostring_gperf.c \
- errnostring_gperf.gperf \
+ errnostring-gperf.c \
+ errnostring-gperf.gperf \
errnostring.c \
errnostring.h
@@ -57,16 +57,16 @@ $(libsrcdir)/guestfs_protocol.h: force
# of warnings so we must compile it in a separate mini-library.
noinst_LIBRARIES += liberrnostring.a
liberrnostring_a_SOURCES = \
- errnostring_gperf.c \
+ errnostring-gperf.c \
errnostring.h \
errnostring.c
liberrnostring_a_CFLAGS =
-errnostring_gperf.c: errnostring_gperf.gperf
+errnostring-gperf.c: errnostring-gperf.gperf
rm -f $@
$(GPERF) -t $< > $@-t
mv $@-t $@
-errnostring_gperf.gperf: $(libsrcdir)/errnostring_gperf.gperf
+errnostring-gperf.gperf: $(libsrcdir)/errnostring-gperf.gperf
rm -f $@
ln $< $@
errnostring.c: $(libsrcdir)/errnostring.c
@@ -106,7 +106,7 @@ guestfsd_SOURCES = \
dmesg.c \
dropcaches.c \
du.c \
- echo_daemon.c \
+ echo-daemon.c \
ext2.c \
fallocate.c \
file.c \
diff --git a/daemon/echo_daemon.c b/daemon/echo-daemon.c
index 18e2cf8e..18e2cf8e 100644
--- a/daemon/echo_daemon.c
+++ b/daemon/echo-daemon.c