Compile fix for the rtc test program
PATCH 1/1 Compile fix for the rtc test program
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]>
Documentation/rtc.txt 2006-06-25 16:49:26.000000000 +0200 renamed from Documentation/rtc.txt 2006-06-18 03:49:35.000000000 +0200 +0 -0
@@ -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>
Signature · 4 lines
Michael Opdenacker, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1000 pages!)