Skip to contentSkip to conversation

Compile fix for the rtc test program

PATCH New Michael Opdenacker 1 participant 1 message Jun 25, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

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

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!)