diff options
author | Matt Turner <mattst88@gmail.com> | 2011-09-17 14:10:17 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-09-19 17:43:13 -0400 |
commit | 7d7c39fae932ad0b4ef6b7261c19c90c8dda12e0 (patch) | |
tree | 700cf66d8d5d61d1a16b175efde5f44bb9b2f01b /src/TextAction.c | |
parent | f1e3b47f02788903121148bc24afe4de8c2780d9 (diff) |
Fix a couple unused function warnings
Functions were only called inside ifdef blocks, but were defined
outside.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/TextAction.c')
-rw-r--r-- | src/TextAction.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |