# HG changeset patch # User ib # Date 1307861290 0 # Node ID 2a1a52ba0d70ebbe941620a5ef6a24173f9aadfd # Parent 0e0147a1f6d961b3d7860b1ed9ae4a69f8369095 Make variables static that are only used inside the file. There is no need to declare them extern. diff -r 0e0147a1f6d9 -r 2a1a52ba0d70 gui/mplayer/widgets.c --- 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; diff -r 0e0147a1f6d9 -r 2a1a52ba0d70 gui/mplayer/widgets.h --- 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;