Mercurial > pidgin.yaz
comparison libpurple/network.c @ 22577:0e426ad6cc87
Make some more things static
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 31 Mar 2008 02:17:53 +0000 |
parents | ae58ffd5e929 |
children | 790c606ff8a9 |
comparison
equal
deleted
inserted
replaced
22576:54e5371a6d5d | 22577:0e426ad6cc87 |
---|---|
60 #endif | 60 #endif |
61 | 61 |
62 #ifdef HAVE_LIBNM | 62 #ifdef HAVE_LIBNM |
63 #include <libnm_glib.h> | 63 #include <libnm_glib.h> |
64 | 64 |
65 libnm_glib_ctx *nm_context = NULL; | 65 static libnm_glib_ctx *nm_context = NULL; |
66 guint nm_callback_idx = 0; | 66 static guint nm_callback_idx = 0; |
67 | 67 |
68 #elif defined _WIN32 | 68 #elif defined _WIN32 |
69 static int current_network_count; | 69 static int current_network_count; |
70 #endif | 70 #endif |
71 | 71 |
78 gpointer cb_data; | 78 gpointer cb_data; |
79 UPnPMappingAddRemove *mapping_data; | 79 UPnPMappingAddRemove *mapping_data; |
80 }; | 80 }; |
81 | 81 |
82 #ifdef HAVE_LIBNM | 82 #ifdef HAVE_LIBNM |
83 void nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data); | 83 static void nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data); |
84 #endif | 84 #endif |
85 | 85 |
86 const unsigned char * | 86 const unsigned char * |
87 purple_network_ip_atoi(const char *ip) | 87 purple_network_ip_atoi(const char *ip) |
88 { | 88 { |
609 #endif | 609 #endif |
610 return TRUE; | 610 return TRUE; |
611 } | 611 } |
612 | 612 |
613 #ifdef HAVE_LIBNM | 613 #ifdef HAVE_LIBNM |
614 void | 614 static void |
615 nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data) | 615 nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data) |
616 { | 616 { |
617 static libnm_glib_state prev = LIBNM_NO_DBUS; | 617 static libnm_glib_state prev = LIBNM_NO_DBUS; |
618 libnm_glib_state current; | 618 libnm_glib_state current; |
619 PurpleConnectionUiOps *ui_ops = purple_connections_get_ui_ops(); | 619 PurpleConnectionUiOps *ui_ops = purple_connections_get_ui_ops(); |