summaryrefslogtreecommitdiffstats
path: root/avahi-common
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-09 20:53:40 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-09 20:53:40 +0000
commit79ae5a976987130b9b6eb4920e2656d8ef4fe37c (patch)
treeb1f6636a5633222f7c7acdd9f565db278c84f198 /avahi-common
parent223014183d626cd4cf6fb2cb7b17319375688138 (diff)
drp const from text accessor functons in strlst.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@551 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common')
-rw-r--r--avahi-common/strlst.c2
-rw-r--r--avahi-common/strlst.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/avahi-common/strlst.c b/avahi-common/strlst.c
index 72a0059..5bde68a 100644
--- a/avahi-common/strlst.c
+++ b/avahi-common/strlst.c
@@ -452,7 +452,7 @@ AvahiStringList *avahi_string_list_get_next(AvahiStringList *l) {
return l->next;
}
-const uint8_t *avahi_string_list_get_text(AvahiStringList *l) {
+uint8_t *avahi_string_list_get_text(AvahiStringList *l) {
assert(l);
return l->text;
}
diff --git a/avahi-common/strlst.h b/avahi-common/strlst.h
index 0f8c8d4..2c39351 100644
--- a/avahi-common/strlst.h
+++ b/avahi-common/strlst.h
@@ -137,7 +137,7 @@ AvahiStringList *avahi_string_list_add_pair_arbitrary(AvahiStringList *l, const
AvahiStringList *avahi_string_list_get_next(AvahiStringList *l);
/** Returns the text for the current item */
-const uint8_t *avahi_string_list_get_text(AvahiStringList *l);
+uint8_t *avahi_string_list_get_text(AvahiStringList *l);
/** Returns the size of the current text */
size_t avahi_string_list_get_size(AvahiStringList *l);