summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2008-06-09 22:23:58 +0200
committerBernhard R. Link <brlink@debian.org>2008-06-22 16:39:30 +0200
commitdd36053ca5b842759aa2c5cc5f653a84a98cbd47 (patch)
tree4bb3d38abac26ea775d9cfc3b8ab7c4cc55fcd9f /src/main.c
parent845b825f3f16ae02c8083f046ef13d5c922efa40 (diff)
downloadratpoison-dd36053ca5b842759aa2c5cc5f653a84a98cbd47.zip
make xstrdup argument const char*
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 48fdb88..59f15f1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -83,7 +83,7 @@ xrealloc (void *ptr, size_t size)
}
char *
-xstrdup (char *s)
+xstrdup (const char *s)
{
char *value;
value = strdup (s);