aboutsummaryrefslogtreecommitdiffstats
path: root/src/sllist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
commitbc1c8835c612ccb8063982657453fe658ed69d75 (patch)
tree192d420f193d8b5c6690d7064634ea58e3bc2d2d /src/sllist.h
parent801c71ed1c02a1505ef64902f6557fdfe1749a96 (diff)
downloadmpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.gz
mpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.xz
mpd-bc1c8835c612ccb8063982657453fe658ed69d75.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 */