Skip to content

Commit 9efa0ea

Browse files
committed
Avoid "ISO C forbids an empty translation unit"
Add dummy typedef to avoid the warning
1 parent 09f7f82 commit 9efa0ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

silk/debug.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE.
2929
#include "config.h"
3030
#endif
3131

32+
typedef int _prevent_empty_translation_unit_warning;
33+
3234
#include "debug.h"
3335

3436
#if SILK_DEBUG || SILK_TIC_TOC

0 commit comments

Comments
 (0)