This patch is a trivial compile fix the test program embedded in
Documentation/rtc.txt
Without it, compiling issues many ugly warnings:
warning: incompatible implicit declaration of built-in function ‘exit’
Also available on
http://free-electrons.com/pub/patches/linux/20060625/rtc-test.patch
Signed-off-by: Michael Opdenacker <[email protected]>
--- linux-2.6.17/Documentation/rtc.txt 2006-06-18 03:49:35.000000000 +0200
+++ linux-2.6.17-rtc-test/Documentation/rtc.txt 2006-06-25
16:49:26.000000000 +0200
@@ -81,6 +81,7 @@ that will be using this driver.
*/
#include <stdio.h>
+#include <stdlib.h>
#include <linux/rtc.h>
#include <sys/ioctl.h>
#include <sys/time.h>
--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]