All of lore.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

* Re: [PATCH] util-linux: tests new warning fix
  2013-05-13 14:52 [PATCH] util-linux: tests new warning fix Gilles Espinasse
@ 2013-05-21  9:39 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-05-21  9:39 UTC (permalink / raw)
  To: Gilles Espinasse; +Cc: util-linux

On Mon, May 13, 2013 at 04:52:28PM +0200, Gilles Espinasse wrote:
>  tests/helpers/test_md5.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.