summaryrefslogtreecommitdiffstats
path: root/doxygen/examples
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 22:00:07 (GMT)
committerGitHub <noreply@github.com>2023-07-27 22:00:07 (GMT)
commit0e82707100cf3d1b698d2ec0cad08db61d552d63 (patch)
tree6d8c9adf10cb2f52f7ad33b93e30ee0aef3125e0 /doxygen/examples
parent61186204c020a81b5b0044a3b5e08311ccf1424d (diff)
downloadhdf5-0e82707100cf3d1b698d2ec0cad08db61d552d63.zip
hdf5-0e82707100cf3d1b698d2ec0cad08db61d552d63.tar.gz
hdf5-0e82707100cf3d1b698d2ec0cad08db61d552d63.tar.bz2
Misc missed things from previous merges (#3295)
Diffstat (limited to 'doxygen/examples')
-rw-r--r--doxygen/examples/H5Fclose.c2
-rw-r--r--doxygen/examples/H5Fcreate.c2
-rw-r--r--doxygen/examples/hello_hdf5.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/doxygen/examples/H5Fclose.c b/doxygen/examples/H5Fclose.c
index 525bad3..8c2ef08 100644
--- a/doxygen/examples/H5Fclose.c
+++ b/doxygen/examples/H5Fclose.c
@@ -1,7 +1,7 @@
#include "hdf5.h"
int
-main()
+main(void)
{
hid_t file;
if ((file = H5Fcreate("foo.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT)) < 0)
diff --git a/doxygen/examples/H5Fcreate.c b/doxygen/examples/H5Fcreate.c
index 525bad3..8c2ef08 100644
--- a/doxygen/examples/H5Fcreate.c
+++ b/doxygen/examples/H5Fcreate.c
@@ -1,7 +1,7 @@
#include "hdf5.h"
int
-main()
+main(void)
{
hid_t file;
if ((file = H5Fcreate("foo.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT)) < 0)
diff --git a/doxygen/examples/hello_hdf5.c b/doxygen/examples/hello_hdf5.c
index a37d39f..f078090 100644
--- a/doxygen/examples/hello_hdf5.c
+++ b/doxygen/examples/hello_hdf5.c
@@ -1,7 +1,7 @@
#include "hdf5.h"
int
-main()
+main(void)
{
herr_t retval;
unsigned majnum, minnum, relnum;