[gupnp] Declare more linux cm internal functions static
- From: Andreas Henriksson <ah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Declare more linux cm internal functions static
- Date: Thu, 12 Apr 2012 09:34:45 +0000 (UTC)
commit e56568bfa02e1bf16842254228403030e5afd276
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 8382196..7524711 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -279,7 +279,7 @@ is_wireless_status_message (struct nlmsghdr *header)
return FALSE;
}
-void
+static void
create_context (GUPnPLinuxContextManager *self, struct ifaddrmsg *ifa)
{
NetworkInterface *device;
@@ -303,7 +303,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]