summaryrefslogtreecommitdiff
path: root/camlibs
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2022-11-10 20:56:59 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2022-11-11 09:55:40 +0100
commit6b595a34adc142e64e2794cfca844e528bafd337 (patch)
tree5fbbc9ac26c12159326bdd62736470c2d251ce1b /camlibs
parentbc8eb3b684f090a1afe0d63ff78fcd5e751cf206 (diff)
downloadlibgphoto2-6b595a34adc142e64e2794cfca844e528bafd337.tar.gz
Define main function as "int main(void)" (with void)
Diffstat (limited to 'camlibs')
-rw-r--r--camlibs/ptp2/n-param-test.c2
1 files changed, 1 insertions, 1 deletions
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).