diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-19 15:45:27 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-19 16:11:47 +0100 |
commit | 2e4089f30007e79bc157c775cfd3b326d22f2992 (patch) | |
tree | 18fe8842961b4e22a0e857748d6d40476909fd17 /ocaml | |
parent | 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d (diff) | |
download | libguestfs-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 'ocaml')
-rw-r--r-- | ocaml/Makefile.am | 6 | ||||
-rw-r--r-- | ocaml/guestfs-c.c (renamed from ocaml/guestfs_c.c) | 2 | ||||
-rw-r--r-- | ocaml/guestfs-c.h (renamed from ocaml/guestfs_c.h) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index e2c4667b..d91eb5c1 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -26,13 +26,13 @@ include $(top_srcdir)/subdir-rules.mk generator_built = \ guestfs.mli \ guestfs.ml \ - guestfs_c_actions.c \ + guestfs-c-actions.c \ bindtests.ml EXTRA_DIST = \ $(generator_built) \ .depend \ - guestfs_c.c guestfs_c.h \ + guestfs-c.c guestfs-c.h \ html/.gitignore \ META.in \ run-bindtests \ @@ -68,7 +68,7 @@ libguestfsocaml_a_CFLAGS = \ -I$(top_srcdir)/src -I$(top_builddir)/src \ $(WARN_CFLAGS) $(WERROR_CFLAGS) \ -fPIC -libguestfsocaml_a_SOURCES = guestfs_c.c guestfs_c_actions.c +libguestfsocaml_a_SOURCES = guestfs-c.c guestfs-c-actions.c if HAVE_OCAMLDOC diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs-c.c index fc7f9d04..469110dc 100644 --- a/ocaml/guestfs_c.c +++ b/ocaml/guestfs-c.c @@ -33,7 +33,7 @@ #include <caml/printexc.h> #include <caml/signals.h> -#include "guestfs_c.h" +#include "guestfs-c.h" static value **get_all_event_callbacks (guestfs_h *g, size_t *len_rtn); static void event_callback_wrapper (guestfs_h *g, void *data, uint64_t event, int event_handle, int flags, const char *buf, size_t buf_len, const uint64_t *array, size_t array_len); diff --git a/ocaml/guestfs_c.h b/ocaml/guestfs-c.h index 8d379210..8d379210 100644 --- a/ocaml/guestfs_c.h +++ b/ocaml/guestfs-c.h |