All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] Compile fix for the rtc test program
@ 2006-06-25 15:40 Michael Opdenacker
  0 siblings, 0 replies; only message in thread
From: Michael Opdenacker @ 2006-06-25 15:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Adrian Bunk

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 <michael@free-electrons.com>

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-25 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-25 15:40 [PATCH][TRIVIAL] Compile fix for the rtc test program Michael Opdenacker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.