summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--list.c2
-rw-r--r--list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/list.c b/list.c
index a10b5ed..2854e18 100644
--- a/list.c
+++ b/list.c
@@ -59,7 +59,7 @@ listAdjoin(char *car, ListPtr cdr)
}
char *
-dsprintf(char *f, ...)
+dsprintf(const char *f, ...)
{
va_list args;
char *string;
diff --git a/list.h b/list.h
index 686fd9b..7403bc0 100644
--- a/list.h
+++ b/list.h
@@ -25,7 +25,7 @@
#include <X11/Xfuncproto.h> /* for _X_ATTRIBUTE_PRINTF */
-char *dsprintf(char *f, ...) _X_ATTRIBUTE_PRINTF(1,2);
+char *dsprintf(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2);
typedef struct _List {
char *value;