Loading...
--- Libc/Libc-1725.40.4/gen/FreeBSD/stringlist.c
+++ Libc/Libc-825.26/gen/FreeBSD/stringlist.c
@@ -46,7 +46,7 @@
* sl_init(): Initialize a string list
*/
StringList *
-sl_init(void)
+sl_init()
{
StringList *sl;
@@ -67,7 +67,9 @@
* sl_add(): Add an item to the string list
*/
int
-sl_add(StringList *sl, char *name)
+sl_add(sl, name)
+ StringList *sl;
+ char *name;
{
if (sl->sl_cur == sl->sl_max - 1) {
sl->sl_max += _SL_CHUNKSIZE;
@@ -84,7 +86,9 @@
* sl_free(): Free a stringlist
*/
void
-sl_free(StringList *sl, int all)
+sl_free(sl, all)
+ StringList *sl;
+ int all;
{
size_t i;
@@ -104,7 +108,9 @@
* sl_find(): Find a name in the string list
*/
char *
-sl_find(StringList *sl, char *name)
+sl_find(sl, name)
+ StringList *sl;
+ char *name;
{
size_t i;