Skip to content

Commit 2d887db

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pamu2fcfg/readpassphrase.c

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// clang-format off
12
/* $OpenBSD: readpassphrase.c,v 1.26 2016/10/18 12:47:18 millert Exp $ */
23

34
/*
@@ -211,4 +212,8 @@ static void handler(int s)
211212

212213
signo[s] = 1;
213214
}
215+
216+
#else /* HAVE_READPASSPHRASE */
217+
typedef int make_iso_compilers_happy;
214218
#endif /* HAVE_READPASSPHRASE */
219+
// clang-format on

0 commit comments

Comments
 (0)