Skip to content

Commit 2be940f

Browse files
committed
Fix warning: ISO C forbids an empty translation unit
1 parent 12cb292 commit 2be940f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

explicit_bzero.c

+2
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ void explicit_bzero(void *p, size_t n) {
5151

5252
#endif /* HAVE_MEMSET_S */
5353

54+
#else /* HAVE_EXPLICIT_BZERO */
55+
typedef int make_iso_compilers_happy;
5456
#endif /* HAVE_EXPLICIT_BZERO */

0 commit comments

Comments
 (0)