[patch 06/11] int main void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>

 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux