Recent compilers barf about incorrect main functions when run with full
warnings switched on.

Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>

 func/measurement/gtod_latency/gtod_infinite.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: func/measurement/gtod_latency/gtod_infinite.c
===================================================================
--- func/measurement/gtod_latency/gtod_infinite.c.orig
+++ func/measurement/gtod_latency/gtod_infinite.c
@@ -26,7 +26,7 @@
 #define START_MAX      3000
 #define REPORT_MIN     1000000
 
-main()
+int main(void)
 {
        int i, rc;
        struct timespec ts, p_ts;

--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to