(svn r19576) -Codechange: Unduplicating parse_intlist().

This commit is contained in:
alberth
2010-04-07 20:09:53 +00:00
parent f1da8d7281
commit 1e48b2332e
3 changed files with 3 additions and 25 deletions

View File

@@ -156,7 +156,7 @@ static uint32 lookup_manyofmany(const char *many, const char *str)
* @param items pointer to the integerlist-array that will be filled with values
* @param maxitems the maximum number of elements the integerlist-array has
* @return returns the number of items found, or -1 on an error */
static int parse_intlist(const char *p, int *items, int maxitems)
int parse_intlist(const char *p, int *items, int maxitems)
{
int n = 0, v;
char *end;