[gupnp/gupnp-0.18] Declare more linux cm internal functions static



commit 30bb59c5fe2f7dc66bb611677aab98ec57a6ed56
Author: Andreas Henriksson <andreas fatal se>
Date:   Wed Apr 11 19:50:32 2012 +0200

    Declare more linux cm internal functions static
    
    These where not leaked before because their initial
    declaration declares them as static, but make the
    actual function declaration static too just because
    it's nice to keep declarations in sync.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673933

 libgupnp/gupnp-linux-context-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index 2a4c4a7..61bc855 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -282,7 +282,7 @@ is_wireless_status_message (struct nlmsghdr *header)
         return FALSE;
 }
 
-void
+static void
 create_context (GUPnPLinuxContextManager *self, struct ifaddrmsg *ifa)
 {
         NetworkInterface *device;
@@ -306,7 +306,7 @@ create_context (GUPnPLinuxContextManager *self, struct ifaddrmsg *ifa)
         network_device_create_context (device);
 }
 
-void
+static void
 remove_context (GUPnPLinuxContextManager *self, struct ifaddrmsg *ifa)
 {
         NetworkInterface *device;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]