From 8dbf0a5b3427ca421f488041bbfa032e2e4d21dd Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Mon, 3 Mar 2025 19:47:24 +0100 Subject: [PATCH] Added void --- src/cdi.h | 4 ++-- src/cdi_int.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cdi.h b/src/cdi.h index d72ad3753..d6e73b918 100644 --- a/src/cdi.h +++ b/src/cdi.h @@ -1450,8 +1450,8 @@ extern int (*proj_stere_to_lonlat_func)(struct CDI_GridProjParams gpp, double, d // Used on CDO remap_scrip_io.cc void cdf_def_var_filter(int ncid, int ncvarID, const char *filterSpec); -int cdi_has_dap(); -int cdi_has_cgribex(); +int cdi_has_dap(void); +int cdi_has_cgribex(void); #ifdef __cplusplus } diff --git a/src/cdi_int.c b/src/cdi_int.c index 4972daa44..04ed90af6 100644 --- a/src/cdi_int.c +++ b/src/cdi_int.c @@ -591,7 +591,7 @@ stream_def_accesstype(stream_t *s, int type) } int -cdi_has_dap() +cdi_has_dap(void) { #ifdef HAVE_LIBNC_DAP return 1; @@ -600,7 +600,7 @@ cdi_has_dap() } int -cdi_has_cgribex() +cdi_has_cgribex(void) { #ifdef HAVE_LIBCGRIBEX return 1; -- GitLab