lib: Rename cleanup-structs.c -> structs-cleanup.c and free-structs.c -> structs-free.c.

Just renaming generated files, no other effects.
This commit is contained in:
Richard W.M. Jones
2013-12-17 21:28:49 +00:00
parent 193b81a633
commit 0f3489ba6b
5 changed files with 13 additions and 13 deletions

4
.gitignore vendored
View File

@@ -394,13 +394,11 @@ Makefile.in
/src/actions-?.c
/src/actions-variants.c
/src/bindtests.c
/src/cleanup-structs.c
/src/errnostring.c
/src/errnostring-gperf.c
/src/errnostring-gperf.gperf
/src/errnostring.h
/src/event-string.c
/src/free-structs.c
/src/guestfs.3
/src/guestfs-actions.pod
/src/guestfs-availability.pod
@@ -415,6 +413,8 @@ Makefile.in
/src/libguestfs.syms
/src/.libs/libguestfs.so
/src/stamp-guestfs.pod
/src/structs-cleanup.c
/src/structs-free.c
/stamp-guestfs-release-notes.pod
/stamp-h1
/sysprep/.depend

View File

@@ -830,7 +830,7 @@ and generate_internal_frontend_cleanups_h () =
pr "#endif /* GUESTFS_INTERNAL_FRONTEND_CLEANUPS_H_ */\n"
(* Functions to free structures. *)
and generate_client_free_structs () =
and generate_client_structs_free () =
generate_header CStyle LGPLv2plus;
pr "\
@@ -877,7 +877,7 @@ and generate_client_free_structs () =
) structs
(* Functions to free structures used by the CLEANUP_* macros. *)
and generate_client_cleanup_structs () =
and generate_client_structs_cleanup () =
generate_header CStyle LGPLv2plus;
pr "\

View File

@@ -98,8 +98,8 @@ Run it from the top source directory using the command
output_to "src/MAX_PROC_NR" generate_max_proc_nr;
output_to "src/libguestfs.syms" generate_linker_script;
output_to "src/free-structs.c" generate_client_free_structs;
output_to "src/cleanup-structs.c" generate_client_cleanup_structs;
output_to "src/structs-free.c" generate_client_structs_free;
output_to "src/structs-cleanup.c" generate_client_structs_cleanup;
output_to "src/actions-variants.c" generate_client_actions_variants;
for i = 0 to nr_actions_files-1 do

View File

@@ -261,7 +261,6 @@ src/alloc.c
src/appliance.c
src/bindtests.c
src/canonical-name.c
src/cleanup-structs.c
src/cleanup.c
src/command.c
src/conn-socket.c
@@ -274,7 +273,6 @@ src/event-string.c
src/events.c
src/file.c
src/filearch.c
src/free-structs.c
src/fuse.c
src/handle.c
src/info.c
@@ -300,6 +298,8 @@ src/osinfo.c
src/private-data.c
src/proto.c
src/stringsbuf.c
src/structs-cleanup.c
src/structs-free.c
src/tmpdirs.c
src/utils.c
test-tool/test-tool.c

View File

@@ -33,16 +33,16 @@ generator_built = \
actions-6.c \
actions-variants.c \
bindtests.c \
cleanup-structs.c \
errnostring-gperf.gperf \
errnostring.c \
errnostring.h \
event-string.c \
free-structs.c \
guestfs-actions.pod \
guestfs-availability.pod \
guestfs-structs.pod \
libguestfs.syms
libguestfs.syms \
structs-cleanup.c \
structs-free.c
BUILT_SOURCES = \
$(generator_built) \
@@ -93,7 +93,6 @@ libguestfs_la_SOURCES = \
events.c \
file.c \
filearch.c \
free-structs.c \
fuse.c \
handle.c \
info.c \
@@ -119,6 +118,7 @@ libguestfs_la_SOURCES = \
private-data.c \
proto.c \
stringsbuf.c \
structs-free.c \
tmpdirs.c \
libguestfs.syms
@@ -217,7 +217,7 @@ endif
# included in tools and bindings.
libutils_la_SOURCES = \
cleanup.c \
cleanup-structs.c \
structs-cleanup.c \
utils.c
libutils_la_CPPFLAGS = $(libguestfs_la_CPPFLAGS)
libutils_la_CFLAGS = $(libguestfs_la_CFLAGS)