diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-04-23 13:03:03 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-04-23 13:03:03 +0000 |
commit | d001beb2601515bc151c18af9c429081f7bf9916 (patch) | |
tree | 73c476a4a4cd8fd4bf615d9c658aeee3f88c0aeb /lib/libc/gen/stringlist.c | |
parent | 240f872cb837addb600909c2f5b81e55b9be6d42 (diff) | |
download | src-d001beb2601515bc151c18af9c429081f7bf9916.tar.gz src-d001beb2601515bc151c18af9c429081f7bf9916.zip |
- 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
Notes
Notes:
svn path=/head/; revision=249802
Diffstat (limited to 'lib/libc/gen/stringlist.c')
-rw-r--r-- | lib/libc/gen/stringlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/stringlist.c b/lib/libc/gen/stringlist.c index 9f3c3e882f32..a09a8e705e36 100644 --- a/lib/libc/gen/stringlist.c +++ b/lib/libc/gen/stringlist.c @@ -104,7 +104,7 @@ sl_free(StringList *sl, int all) * sl_find(): Find a name in the string list */ char * -sl_find(StringList *sl, char *name) +sl_find(StringList *sl, const char *name) { size_t i; |