changeset 33507:2a1a52ba0d70

Make variables static that are only used inside the file. There is no need to declare them extern.
author ib
date Sun, 12 Jun 2011 06:48:10 +0000
parents 0e0147a1f6d9
children 72b4bbb515f3
files gui/mplayer/widgets.c gui/mplayer/widgets.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/widgets.c	Sun Jun 12 06:33:19 2011 +0000
+++ b/gui/mplayer/widgets.c	Sun Jun 12 06:48:10 2011 +0000
@@ -69,8 +69,8 @@
 
 // --- init & close gtk
 
-GdkPixmap * gtkIcon;
-GdkBitmap * gtkIconMask;
+static GdkPixmap * gtkIcon;
+static GdkBitmap * gtkIconMask;
 Pixmap	    guiIcon;
 Pixmap	    guiIconMask;
 
--- a/gui/mplayer/widgets.h	Sun Jun 12 06:33:19 2011 +0000
+++ b/gui/mplayer/widgets.h	Sun Jun 12 06:48:10 2011 +0000
@@ -53,8 +53,6 @@
 extern char          * sbMPlayerDirInHome;
 extern char          * sbMPlayerPrefixDir;
 
-extern GdkPixmap * gtkIcon;
-extern GdkBitmap * gtkIconMask;
 extern Pixmap      guiIcon;
 extern Pixmap	   guiIconMask;