summaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
authorMike Frysinger2005-04-16 04:30:38 +0000
committerMike Frysinger2005-04-16 04:30:38 +0000
commit4e5936ef9501da7d2f010d8c4f3703505b28b2c5 (patch)
tree0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /archival/dpkg.c
parent5c63a729681991c86fc94fbe6f9f18b8cf876810 (diff)
downloadbusybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.zip
busybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.gz
In Bug 208, bernhardf writes:
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r--archival/dpkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index c096518..d3b56e3 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -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;