public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] util-linux: tests new warning fix
@ 2013-05-13 14:52 Gilles Espinasse
  2013-05-21  9:39 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Espinasse @ 2013-05-13 14:52 UTC (permalink / raw)
  To: util-linux; +Cc: Gilles Espinasse

2.23 added -Wstrict-prototypes check. Fix make check showing
CC tests/helpers/test_md5.o
tests/helpers/test_md5.c:8: warning: function declaration isn't a prototype

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
---
 tests/helpers/test_md5.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/helpers/test_md5.c b/tests/helpers/test_md5.c
index 0f37afd..44f6a93 100644
--- a/tests/helpers/test_md5.c
+++ b/tests/helpers/test_md5.c
@@ -4,7 +4,7 @@
 
 #include "md5.h"
 
-int main()
+int main(void)
 {
 	int i, ret;
 	struct MD5Context ctx;
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-21  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 14:52 [PATCH] util-linux: tests new warning fix Gilles Espinasse
2013-05-21  9:39 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox