From fbb6b9984afc8983ce1fa1db6bdee2b1150631b5 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 10 Feb 2012 15:03:31 +0000 Subject: 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. --- common/marshaller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/marshaller.c') 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; -- cgit