diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-15 13:28:24 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 12:08:09 +0100 |
commit | 2cc403d9200739ba8df9d7439c0d0893f3607a45 (patch) | |
tree | 2dbea2c83ed8c02216499ea43bfbd3dc99ef753d /generator | |
parent | 5aac844539e4f370aee9553a10e481b86b313d79 (diff) | |
download | libguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.tar.gz libguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.tar.xz libguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.zip |
syntax: Remove trailing whitespace.
Found by 'make syntax-check'.
(cherry picked from commit 2cac8d490e9884a8c7376e49fd1cda2e3d3abec1)
Diffstat (limited to 'generator')
-rw-r--r-- | generator/generator_c.ml | 2 | ||||
-rw-r--r-- | generator/generator_gobject.ml | 2 | ||||
-rw-r--r-- | generator/generator_types.ml | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/generator/generator_c.ml b/generator/generator_c.ml index d2275acc..bb3f044e 100644 --- a/generator/generator_c.ml +++ b/generator/generator_c.ml @@ -507,7 +507,7 @@ extern GUESTFS_DLL_PUBLIC void *guestfs_next_private (guestfs_h *g, const char * * guestfs_protocol.h (which includes much unrelated and * XDR-dependent stuff that we don't want to be public, or required * by clients). - * + * * To reiterate, we will pass these structures to and from the client * with a simple assignment or memcpy, so the format must be * identical to what rpcgen / the RFC defines. diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml index 7262c608..3fcd058b 100644 --- a/generator/generator_gobject.ml +++ b/generator/generator_gobject.ml @@ -822,7 +822,7 @@ guestfs_session_event_get_type(void) static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = {"; - + List.iter ( fun (name, _) -> let enum_name = "GUESTFS_SESSION_EVENT_" ^ String.uppercase name in diff --git a/generator/generator_types.ml b/generator/generator_types.ml index 0d9bd0bf..865c6b22 100644 --- a/generator/generator_types.ml +++ b/generator/generator_types.ml @@ -23,14 +23,14 @@ type style = ret * args * optargs (* The [style] is a tuple which describes the return value and * arguments of a function. - * + * * [ret] is the return value, one of the [R*] values below. - * + * * The second element is the list of required arguments, a list of * [argt]s from the list below, eg. [Bool], [String] etc. Each has * a name so that for example [Int "foo"] corresponds in the C * bindings to an [int foo] parameter. - * + * * The third element is the list of optional arguments. These are * mapped to optional arguments in the language binding, eg. in * Perl to: |