summaryrefslogtreecommitdiffstats
path: root/fish
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 /fish
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 'fish')
-rw-r--r--fish/Makefile.am24
-rw-r--r--fish/cmds-gperf.h (renamed from fish/cmds_gperf.h)0
-rw-r--r--fish/prep-boot.c (renamed from fish/prep_boot.c)0
-rw-r--r--fish/prep-disk.c (renamed from fish/prep_disk.c)0
-rw-r--r--fish/prep-fs.c (renamed from fish/prep_fs.c)0
-rw-r--r--fish/prep-lv.c (renamed from fish/prep_lv.c)0
-rw-r--r--fish/prep-part.c (renamed from fish/prep_part.c)0
-rwxr-xr-xfish/test-read-file.sh (renamed from fish/test-read_file.sh)0
8 files changed, 12 insertions, 12 deletions
diff --git a/fish/Makefile.am b/fish/Makefile.am
index 8e45294a..c7c1867d 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -28,7 +28,7 @@ bin_PROGRAMS = guestfish
generator_built = \
cmds.c \
- cmds_gperf.gperf \
+ cmds-gperf.gperf \
completion.c \
event-names.c \
fish-cmds.h \
@@ -39,7 +39,7 @@ generator_built = \
BUILT_SOURCES = \
$(generator_built) \
- cmds_gperf.c \
+ cmds-gperf.c \
rc_protocol.h \
rc_protocol.c
@@ -76,7 +76,7 @@ guestfish_SOURCES = \
$(generator_built) \
$(SHARED_SOURCE_FILES) \
alloc.c \
- cmds_gperf.h \
+ cmds-gperf.h \
copy.c \
destpaths.c \
display.c \
@@ -92,11 +92,11 @@ guestfish_SOURCES = \
man.c \
more.c \
prep.c \
- prep_disk.c \
- prep_part.c \
- prep_fs.c \
- prep_lv.c \
- prep_boot.c \
+ prep-disk.c \
+ prep-part.c \
+ prep-fs.c \
+ prep-lv.c \
+ prep-boot.c \
rc.c \
reopen.c \
setenv.c \
@@ -111,10 +111,10 @@ librc_protocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing
# Build the command lookup perfect hash code. The generated code has
# lots of warnings so we must compile it in a separate mini-library.
-libcmds_la_SOURCES = cmds_gperf.c
+libcmds_la_SOURCES = cmds-gperf.c
libcmds_la_CFLAGS =
-cmds_gperf.c: cmds_gperf.gperf
+cmds-gperf.c: cmds-gperf.gperf
rm -f $@
$(GPERF) -t $< > $@-t
mv $@-t $@
@@ -246,7 +246,7 @@ TESTS += \
test-find0.sh \
test-glob.sh \
test-mount-local.sh \
- test-read_file.sh \
+ test-read-file.sh \
test-remote.sh \
test-reopen.sh \
test-stringlist.sh \
@@ -264,7 +264,7 @@ EXTRA_DIST += \
test-find0.sh \
test-glob.sh \
test-mount-local.sh \
- test-read_file.sh \
+ test-read-file.sh \
test-remote.sh \
test-reopen.sh \
test-stringlist.sh \
diff --git a/fish/cmds_gperf.h b/fish/cmds-gperf.h
index 74db69d2..74db69d2 100644
--- a/fish/cmds_gperf.h
+++ b/fish/cmds-gperf.h
diff --git a/fish/prep_boot.c b/fish/prep-boot.c
index 75ddcca4..75ddcca4 100644
--- a/fish/prep_boot.c
+++ b/fish/prep-boot.c
diff --git a/fish/prep_disk.c b/fish/prep-disk.c
index 1caee5f0..1caee5f0 100644
--- a/fish/prep_disk.c
+++ b/fish/prep-disk.c
diff --git a/fish/prep_fs.c b/fish/prep-fs.c
index a0373d9c..a0373d9c 100644
--- a/fish/prep_fs.c
+++ b/fish/prep-fs.c
diff --git a/fish/prep_lv.c b/fish/prep-lv.c
index f635ff9f..f635ff9f 100644
--- a/fish/prep_lv.c
+++ b/fish/prep-lv.c
diff --git a/fish/prep_part.c b/fish/prep-part.c
index fc390143..fc390143 100644
--- a/fish/prep_part.c
+++ b/fish/prep-part.c
diff --git a/fish/test-read_file.sh b/fish/test-read-file.sh
index d0471333..d0471333 100755
--- a/fish/test-read_file.sh
+++ b/fish/test-read-file.sh