diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-31 21:05:34 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-09-01 20:06:39 -0500 |
commit | f2c8d69e2f82da0c3e818f6c762417f288a23580 (patch) | |
tree | 9f27790c36391c0f0594fec65bf33532fddeb329 /src/Label.c | |
parent | 77aa38852ab023e5492059743ae93952af27aad5 (diff) |
Label: Fix nested extern declaration warnings
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Label.c')
-rw-r--r-- | src/Label.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Label.c b/src/Label.c index ea885f7..a8fdddf 100644 --- a/src/Label.c +++ b/src/Label.c @@ -56,6 +56,7 @@ SOFTWARE. #include <X11/StringDefs.h> #include <X11/Xos.h> #include <X11/Xaw3d/XawInit.h> +#include <X11/Xaw3d/Command.h> #include <X11/Xaw3d/LabelP.h> #include <X11/Xmu/Converters.h> #include <X11/Xmu/Drawing.h> @@ -438,7 +439,6 @@ set_bitmap_info (LabelWidget lw) static void Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args) { - extern WidgetClass commandWidgetClass; LabelWidget lw = (LabelWidget) new; /* disable shadows if we're not a subclass of Command */ @@ -484,7 +484,6 @@ Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args) static void Redisplay(Widget gw, XEvent *event, Region region) { - extern WidgetClass commandWidgetClass; LabelWidget w = (LabelWidget) gw; LabelWidgetClass lwclass = (LabelWidgetClass) XtClass (gw); Pixmap pm; |