From f2c8d69e2f82da0c3e818f6c762417f288a23580 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 31 Aug 2011 21:05:34 -0500 Subject: Label: Fix nested extern declaration warnings Signed-off-by: Yaakov Selkowitz Acked-by: Matt Turner --- src/Label.c | 3 +-- 1 file changed, 1 insertion(+), 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 #include #include +#include #include #include #include @@ -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; -- cgit v1.2.3