From 6b595a34adc142e64e2794cfca844e528bafd337 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Thu, 10 Nov 2022 20:56:59 +0100 Subject: Define main function as "int main(void)" (with void) --- camlibs/ptp2/n-param-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camlibs') diff --git a/camlibs/ptp2/n-param-test.c b/camlibs/ptp2/n-param-test.c index f6ed72829..30a578635 100644 --- a/camlibs/ptp2/n-param-test.c +++ b/camlibs/ptp2/n-param-test.c @@ -80,7 +80,7 @@ void foo_func(void *ptr, int n_param, ...) } -int main() +int main(void) { /* Zero to five parameters after the code are the valid use * cases. The CODE in these examples has the value (1000+n_param). -- cgit v1.2.1