Skip to content
Snippets Groups Projects
Commit 90487e27 authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Prevent warning: ISO C requires a translation unit to contain at least one...

Prevent warning: ISO C requires a translation unit to contain at least one declaration [-Wempty-translation-unit]
parent f7854c3a
No related branches found
No related tags found
1 merge request!32Add fuzzing testing setup
......@@ -87,4 +87,7 @@ void cmp_debug_print_impl(const char *fmt, ...)
cmp_debug_puts(print_buffer);
}
#else
/* prevent warning: ISO C requires a translation unit to contain at least one declaration [-Wempty-translation-unit] */
extern int make_iso_compilers_happy;
#endif /* (DEBUGLEVEL > 0) */
......@@ -884,4 +884,8 @@ int my_vsnprintf(char* buffer, size_t count, const char* format, va_list va)
return _vsnprintf(_out_buffer, buffer, count, format, va);
}
#else
/* prevent warning: ISO C requires a translation unit to contain at least one declaration [-Wempty-translation-unit] */
extern int make_iso_compilers_happy;
#endif /* (DEBUGLEVEL > 0) */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment