diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c index 5b76f5143..88d0b8a1e 100644 --- a/smallapp/unbound-host.c +++ b/smallapp/unbound-host.c @@ -54,7 +54,7 @@ #undef free #undef realloc #undef strdup -char* unbound_lite_wrapstr(char* s) { return s; } +#define unbound_lite_wrapstr(s) s #endif #include "libunbound/unbound.h" #include diff --git a/testcode/harvest.c b/testcode/harvest.c index 4f27dda6f..e84f255dc 100644 --- a/testcode/harvest.c +++ b/testcode/harvest.c @@ -80,7 +80,7 @@ #undef realloc #undef free #undef strdup -char* unbound_lite_wrapstr(char* s) { return s; } +#define unbound_lite_wrapstr(s) s #endif struct todo_item; struct labdata;