diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-10-25 12:56:45 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-10-25 13:28:08 -0700 |
commit | f7f6ce39ca5f1988f04696581f261bf59c23dc4c (patch) | |
tree | 13e022c1a6a7baf6570a7190126db54dbc4c3b43 /xditview.c | |
parent | da45a0a835bf2d2abb2810ca7bdb9cbc450f7135 (diff) |
Const cleanup
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xditview.c')
-rw-r--r-- | xditview.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -73,14 +73,14 @@ static XrmOptionDescRec options[] = { static char current_file_name[1024]; static FILE *current_file; -static void MakePrompt(Widget, char *, void (*)(char *), char *); +static void MakePrompt(Widget, const char *, void (*)(char *), char *); /* * Report the syntax for calling xditview. */ static void -Syntax(char *call) +Syntax(const char *call) { (void) printf ("Usage: %s [-fg <color>] [-bg <color>]\n", call); (void) printf (" [-bd <color>] [-bw <pixels>] [-help]\n"); @@ -574,7 +574,7 @@ void Noop (Widget w, XEvent *xev, String *s, Cardinal *c) } static void -MakePrompt(Widget centerw, char *prompt, void (*func)(char *), char *def) +MakePrompt(Widget centerw, const char *prompt, void (*func)(char *), char *def) { static Arg dialogArgs[] = { {XtNlabel, (XtArgVal) 0}, |