X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fstringbucket.c;h=27c10238c496efd3262a04f1fbf574a61151a09e;hb=abeaeafe6860bef22ab8469261d3198efc8358c1;hp=ec827d1eb49e098e19e81a415ab934dbb67391c2;hpb=bfc01c15f56c58cefc8680f7faed4c5e3650fa38;p=blerg.git diff --git a/common/stringbucket.c b/common/stringbucket.c index ec827d1..27c1023 100644 --- a/common/stringbucket.c +++ b/common/stringbucket.c @@ -1,3 +1,6 @@ +/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a + * BSD-style license. Please see the COPYING file for details. + */ #include #include #include @@ -5,6 +8,7 @@ #include #include #include +#include #include #include @@ -88,6 +92,7 @@ int stringbucket_delete(struct stringbucket *sb, const char *string) { /* We doin' it DOS style! */ sb->list[pos] = 0; + return 1; } void stringbucket_iterate(struct stringbucket *sb, void (*iter)(char *, void *), void *stuff) {