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



commit 757acb7850049365b4bacd51263a5357965de75a
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]