summaryrefslogtreecommitdiff
path: root/src/XpExtUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XpExtUtil.c')
-rw-r--r--src/XpExtUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XpExtUtil.c b/src/XpExtUtil.c
index 30540d0..89f66c0 100644
--- a/src/XpExtUtil.c
+++ b/src/XpExtUtil.c
@@ -50,7 +50,7 @@
static XExtensionInfo xp_info_data;
static XExtensionInfo *xp_info = &xp_info_data;
-static /* const */ char *xp_extension_name = XP_PRINTNAME;
+static const char *xp_extension_name = XP_PRINTNAME;
static int XpClose(Display *, XExtCodes *);
static char *XpError(Display *, int, XExtCodes *, char *, int);
@@ -85,7 +85,7 @@ typedef struct _xpPrintData {
XPrintLocalExtensionVersion *vers;
} xpPrintData;
-static char *XpErrorList[ /* XP_ERRORS */ ] = {
+static const char *XpErrorList[ /* XP_ERRORS */ ] = {
"XPBadContext",
"XPBadSequence",
"XPBadResourceID"