aboutsummaryrefslogtreecommitdiffstats
path: root/src/sllist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
committerEric Wong <normalperson@yhbt.net>2008-08-31 03:57:25 -0700
commitc52667aa8eee2a40547026735b9670a2221d4168 (patch)
tree09a27d6adbfbe8b2f54828851b892c6d5d4e19ea /src/sllist.h
parentad02ebe21138fed633af5465d1690db103c4934e (diff)
downloadmpd-c52667aa8eee2a40547026735b9670a2221d4168.tar.gz
mpd-c52667aa8eee2a40547026735b9670a2221d4168.tar.xz
mpd-c52667aa8eee2a40547026735b9670a2221d4168.zip
const pointers
The usual bunch of pointer arguments which should be const.
Diffstat (limited to 'src/sllist.h')
-rw-r--r--src/sllist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sllist.h b/src/sllist.h
index ba7d8ea95..e8cb8805d 100644
--- a/src/sllist.h
+++ b/src/sllist.h
@@ -42,11 +42,11 @@ struct sllnode {
struct strnode *new_strnode(char *s);
-struct strnode *new_strnode_dup(char *s, const size_t size);
+struct strnode *new_strnode_dup(const char *s, const size_t size);
struct strnode *dup_strlist(struct strnode *old);
-struct sllnode *new_sllnode(void *s, const size_t size);
+struct sllnode *new_sllnode(const void *s, const size_t size);
#endif /* SLLIST_H */