changeset 22577:0e426ad6cc87

Make some more things static
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 31 Mar 2008 02:17:53 +0000
parents 54e5371a6d5d
children 0998ae2e4838
files libpurple/network.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/network.c	Mon Mar 31 02:15:38 2008 +0000
+++ b/libpurple/network.c	Mon Mar 31 02:17:53 2008 +0000
@@ -62,8 +62,8 @@
 #ifdef HAVE_LIBNM
 #include <libnm_glib.h>
 
-libnm_glib_ctx *nm_context = NULL;
-guint nm_callback_idx = 0;
+static libnm_glib_ctx *nm_context = NULL;
+static guint nm_callback_idx = 0;
 
 #elif defined _WIN32
 static int current_network_count;
@@ -80,7 +80,7 @@
 };
 
 #ifdef HAVE_LIBNM
-void nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data);
+static void nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data);
 #endif
 
 const unsigned char *
@@ -611,7 +611,7 @@
 }
 
 #ifdef HAVE_LIBNM
-void
+static void
 nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data)
 {
 	static libnm_glib_state prev = LIBNM_NO_DBUS;