TopoToolbox / libtopotoolbox

A C library for the analysis of digital elevation models.
https://topotoolbox.github.io/libtopotoolbox/
GNU General Public License v3.0
0 stars 5 forks source link

Complete the function prototype for has_topotoolbox #34

Closed wkearn closed 5 months ago

wkearn commented 5 months ago

has_topotoolbox doesn't require any input parameters. The prototype in include/topotoolbox.h does use has_topotoolbox(void) to indicate this, but the implementation in src/topotoolbox.c does not. This caused CI errors on macos + clang.

src/topotoolbox.c adds a void parameter to the signature of has_topotoolbox