[gnome-bluetooth] BluetoothApplet: mark internal variable as static
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] BluetoothApplet: mark internal variable as static
- Date: Sun, 22 Apr 2012 19:33:21 +0000 (UTC)
commit 07284bb0810c43d5d62cc71d872bcc8858d939ee
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Apr 22 19:28:47 2012 +0200
BluetoothApplet: mark internal variable as static
Otherwise, it could conflict with other symbols with the same
name exported by a different shared library, with undefined
effects.
https://bugzilla.gnome.org/show_bug.cgi?id=674579
applet/bluetooth-applet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applet/bluetooth-applet.c b/applet/bluetooth-applet.c
index 8ccd14a..cecf8a0 100644
--- a/applet/bluetooth-applet.c
+++ b/applet/bluetooth-applet.c
@@ -106,7 +106,7 @@ enum {
SIGNAL_LAST
};
-guint signals[SIGNAL_LAST];
+static guint signals[SIGNAL_LAST];
/**
* bluetooth_applet_browse_address_finish:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]