OSDN Git Service

obexd/bluetooth: Make dict_append_entry function static
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:26 +0000 (11:05 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 09:21:52 +0000 (12:21 +0300)
This fix following build error:

  CC     obexd/plugins/obexd-bluetooth.o
obexd/plugins/bluetooth.c:242:6: error: no previous declaration for
     ‘dict_append_entry’ [-Werror=missing-declarations]

obexd/plugins/bluetooth.c

index 7f8a26d..143d0c2 100644 (file)
@@ -239,7 +239,7 @@ static void append_variant(DBusMessageIter *iter, int type, void *val)
 }
 
 
-void dict_append_entry(DBusMessageIter *dict,
+static void dict_append_entry(DBusMessageIter *dict,
                        const char *key, int type, void *val)
 {
        DBusMessageIter entry;