summaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-26 15:55:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-04 20:28:02 -0700
commit0f4f6462597841e5f8470571d56cfda61144ee8f (patch)
tree2527ef3353420f5cd7c3faf84c4924a71c5f4479 /list.h
parent8ee3b3f73a6c14c4326435fea7136c09fe2822d1 (diff)
Mark format string argument to dsprintf as const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'list.h')
-rw-r--r--list.h2
1 files changed, 1 insertions, 1 deletions
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;