Let's put it together with the macro that needs it (mfree()). Also,
get rid of the unnecessary <stdlib.h> include in iovec-util-fundamental.h.
#pragma once
#if !SD_BOOT
-#include <stdlib.h>
#include <sys/uio.h>
#endif
void *iov_base;
size_t iov_len;
};
-
-DISABLE_WARNING_REDUNDANT_DECLS;
-void free(void *p);
-REENABLE_WARNING;
#endif
/* This accepts both const and non-const pointers */
*/
#define STRLEN(x) (sizeof(""x"") - sizeof(typeof(x[0])))
+DISABLE_WARNING_REDUNDANT_DECLS;
+void free(void *p);
+REENABLE_WARNING;
+
#define mfree(memory) \
({ \
free(memory); \