summaryrefslogtreecommitdiff
path: root/xditview.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-10-25 12:56:45 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-10-25 13:28:08 -0700
commitf7f6ce39ca5f1988f04696581f261bf59c23dc4c (patch)
tree13e022c1a6a7baf6570a7190126db54dbc4c3b43 /xditview.c
parentda45a0a835bf2d2abb2810ca7bdb9cbc450f7135 (diff)
Const cleanup
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xditview.c')
-rw-r--r--xditview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xditview.c b/xditview.c
index 4dae3f9..9c9f5db 100644
--- a/xditview.c
+++ b/xditview.c
@@ -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},