[gupnp] Don't leak internal linux contex manager symbol



commit 1e88698e1eee627c4070368f5a8998ff0f83d4d7
Author: Andreas Henriksson <andreas fatal se>
Date:   Wed Apr 11 19:47:26 2012 +0200

    Don't leak internal linux contex manager symbol
    
    When building gupnp with the linux context manager
    the library gets another public symbol.
    It should be relatively safe to simply make the
    function declaration static to hide it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673933

 libgupnp/gupnp-linux-context-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index a0f1cfc..8382196 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -115,7 +115,7 @@ network_device_new (GUPnPLinuxContextManager *manager,
 }
 
 /* Try to update the ESSID of a network interface. */
-void
+static void
 network_device_update_essid (NetworkInterface *device)
 {
         char *old_essid = device->essid;



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