summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-15 13:28:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 12:08:09 +0100
commit2cc403d9200739ba8df9d7439c0d0893f3607a45 (patch)
tree2dbea2c83ed8c02216499ea43bfbd3dc99ef753d
parent5aac844539e4f370aee9553a10e481b86b313d79 (diff)
downloadlibguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.tar.gz
libguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.tar.xz
libguestfs-2cc403d9200739ba8df9d7439c0d0893f3607a45.zip
syntax: Remove trailing whitespace.
Found by 'make syntax-check'. (cherry picked from commit 2cac8d490e9884a8c7376e49fd1cda2e3d3abec1)
-rw-r--r--.tx/config1
-rw-r--r--contrib/intro/talk.txt1
-rw-r--r--examples/guestfs-faq.pod1
-rw-r--r--examples/guestfs-testing.pod1
-rw-r--r--generator/generator_c.ml2
-rw-r--r--generator/generator_gobject.ml2
-rw-r--r--generator/generator_types.ml6
-rw-r--r--ruby/examples/guestfs-ruby.pod1
-rw-r--r--tests/xml/rhbz701814-faked.xml1
9 files changed, 5 insertions, 11 deletions
diff --git a/.tx/config b/.tx/config
index 8f4c9fc1..4e21dd52 100644
--- a/.tx/config
+++ b/.tx/config
@@ -10,4 +10,3 @@ source_lang = en
file_filter = po-docs/<lang>.po
source_file = po-docs/libguestfs-docs.pot
source_lang = en
-
diff --git a/contrib/intro/talk.txt b/contrib/intro/talk.txt
index 6fda60b9..7d0e89b4 100644
--- a/contrib/intro/talk.txt
+++ b/contrib/intro/talk.txt
@@ -159,4 +159,3 @@ screenshots shown. But many people will simply want to mount
a filesystem on the host using guestmount, and then use
ordinary tools. At the bottom is a screenshot of GNOME
Nautilus browsing into a guest filesystem.
-
diff --git a/examples/guestfs-faq.pod b/examples/guestfs-faq.pod
index bebcee57..4405afc5 100644
--- a/examples/guestfs-faq.pod
+++ b/examples/guestfs-faq.pod
@@ -733,4 +733,3 @@ Richard W.M. Jones (C<rjones at redhat dot com>)
=head1 COPYRIGHT
Copyright (C) 2012 Red Hat Inc.
-
diff --git a/examples/guestfs-testing.pod b/examples/guestfs-testing.pod
index 82036328..9bab630c 100644
--- a/examples/guestfs-testing.pod
+++ b/examples/guestfs-testing.pod
@@ -302,4 +302,3 @@ Richard W.M. Jones (C<rjones at redhat dot com>)
=head1 COPYRIGHT
Copyright (C) 2011-2012 Red Hat Inc.
-
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:
diff --git a/ruby/examples/guestfs-ruby.pod b/ruby/examples/guestfs-ruby.pod
index a0d92d3f..e3b86481 100644
--- a/ruby/examples/guestfs-ruby.pod
+++ b/ruby/examples/guestfs-ruby.pod
@@ -52,4 +52,3 @@ Richard W.M. Jones (C<rjones at redhat dot com>)
=head1 COPYRIGHT
Copyright (C) 2010-2012 Red Hat Inc.
-
diff --git a/tests/xml/rhbz701814-faked.xml b/tests/xml/rhbz701814-faked.xml
index ae31915c..2a60ee58 100644
--- a/tests/xml/rhbz701814-faked.xml
+++ b/tests/xml/rhbz701814-faked.xml
@@ -67,4 +67,3 @@
</memballoon>
</devices>
</domain>
-