summaryrefslogtreecommitdiffstats
path: root/common/marshaller.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-02-10 15:03:31 +0000
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:30:24 +0100
commitfbb6b9984afc8983ce1fa1db6bdee2b1150631b5 (patch)
treea492b64618c9ba5638713f7c5b18d9b6179944bc /common/marshaller.c
parent985ec9d6ec56f15a72ec974ff2fd1f7bab68cd91 (diff)
downloadspice-common-fbb6b9984afc8983ce1fa1db6bdee2b1150631b5.tar.gz
spice-common-fbb6b9984afc8983ce1fa1db6bdee2b1150631b5.tar.xz
spice-common-fbb6b9984afc8983ce1fa1db6bdee2b1150631b5.zip
Add missing includes & make some functions static
A number of functions were used without prior declaration. In some cases this was due to missing include files. In other cases the functions should have just been static. Ideally this would allow -Wmissing-declarations to be enabled, but the files generated by spice_codegen.py will still trip up on this.
Diffstat (limited to 'common/marshaller.c')
-rw-r--r--common/marshaller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/marshaller.c b/common/marshaller.c
index 2934d22..36aadfd 100644
--- a/common/marshaller.c
+++ b/common/marshaller.c
@@ -392,7 +392,7 @@ SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m, int
return m2;
}
-uint8_t *lookup_ref(MarshallerRef *ref)
+static uint8_t *lookup_ref(MarshallerRef *ref)
{
MarshallerItem *item;