From 7d7c39fae932ad0b4ef6b7261c19c90c8dda12e0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 17 Sep 2011 14:10:17 -0400 Subject: Fix a couple unused function warnings Functions were only called inside ifdef blocks, but were defined outside. Reviewed-by: Alan Coopersmith Signed-off-by: Matt Turner --- src/TextAction.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TextAction.c b/src/TextAction.c index 7d1afcb..8d8fe00 100644 --- a/src/TextAction.c +++ b/src/TextAction.c @@ -93,6 +93,7 @@ extern int _XawTextReplace(TextWidget, XawTextPosition, XawTextPosition, XawText static void GetSelection(Widget, Time, String *, Cardinal); void _XawTextZapSelection(TextWidget, XEvent *, Boolean); +#ifdef XAW_INTERNATIONALIZATION static void ParameterError(Widget w, String param) { @@ -107,6 +108,7 @@ ParameterError(Widget w, String param) params, &num_params); XBell( XtDisplay( w ), 50 ); } +#endif static void StartAction(TextWidget ctx, XEvent *event) @@ -178,6 +180,7 @@ struct _SelectionList { Atom selection; /* selection atom when asking XA_COMPOUND_TEXT */ }; +#ifdef XAW_INTERNATIONALIZATION static int ProbablyMB(char *s) { @@ -197,6 +200,7 @@ ProbablyMB(char *s) } return( has_hi_bit ); } +#endif /* ARGSUSED */ static void -- cgit v1.2.3