discover: fix compiler warnings (#10572)

This commit is contained in:
Michael Yang
2025-05-06 10:49:22 -07:00
committed by GitHub
parent 3b2d2c8326
commit 95e744beeb
3 changed files with 11 additions and 7 deletions

View File

@@ -27,12 +27,14 @@
#endif
#ifndef LOG
#define LOG(verbose, ...) \
do { \
if (verbose) { \
fprintf(stderr, __VA_ARGS__); \
} \
} while (0)
#endif
#ifdef __cplusplus
extern "C" {