pidgin: 65fa7f3a: Make some more things static
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Sun Mar 30 22:20:59 EDT 2008
-----------------------------------------------------------------
Revision: 65fa7f3a7e94ddc778b9f06a47f3c8d3649dcde5
Ancestor: a1e6c97c5d0810f739201c155bc1007b57650179
Author: nosnilmot at pidgin.im
Date: 2008-03-31T02:17:53
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/65fa7f3a7e94ddc778b9f06a47f3c8d3649dcde5
Modified files:
libpurple/network.c
ChangeLog:
Make some more things static
-------------- next part --------------
============================================================
--- libpurple/network.c 86079b9237ff9b29de277648ee46bb9f1b3483d1
+++ libpurple/network.c b9a475b32bee6b8a12d23d704e3f2e247a230824
@@ -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 @@ struct _PurpleNetworkListenData {
};
#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 @@ purple_network_is_available(void)
}
#ifdef HAVE_LIBNM
-void
+static void
nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data)
{
static libnm_glib_state prev = LIBNM_NO_DBUS;
More information about the Commits
mailing list