In Bug 208, bernhardf writes:

On machines with only ANSI compliant compilers, not explitily delcaring
an empty parameter list 'void' causes failure.
This commit is contained in:
Mike Frysinger
2005-04-16 04:30:38 +00:00
parent 5c63a72968
commit 4e5936ef95
6 changed files with 18 additions and 18 deletions

View File

@@ -1327,7 +1327,7 @@ void free_array(char **array)
* the status_hashtable to retrieve the info. This results in smaller code than
* scanning the status file. The resulting list, however, is unsorted.
*/
void list_packages(void)
static void list_packages(void)
{
int i;