summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-04-23 13:03:03 +0000
committereadler <eadler@FreeBSD.org>2013-04-23 13:03:03 +0000
commit4af79ccd602e497469d337b07a2bff0a1115a2a7 (patch)
tree73c476a4a4cd8fd4bf615d9c658aeee3f88c0aeb /include
parent743330219f4ea0c9243167000ca5a4ad2dd1280e (diff)
downloadFreeBSD-src-4af79ccd602e497469d337b07a2bff0a1115a2a7.zip
FreeBSD-src-4af79ccd602e497469d337b07a2bff0a1115a2a7.tar.gz
- sl_find does not modify 'name'
- make the prototype of sl_find match NetBSD Reviewed by: jilles Approved by: cperciva (mentor) MFC After: 3 days
Diffstat (limited to 'include')
-rw-r--r--include/stringlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stringlist.h b/include/stringlist.h
index bae2a2c..d3154b3 100644
--- a/include/stringlist.h
+++ b/include/stringlist.h
@@ -51,7 +51,7 @@ __BEGIN_DECLS
StringList *sl_init(void);
int sl_add(StringList *, char *);
void sl_free(StringList *, int);
-char *sl_find(StringList *, char *);
+char *sl_find(StringList *, const char *);
__END_DECLS
#endif /* _STRINGLIST_H */
OpenPOWER on IntegriCloud