From: Michael Opdenacker <michael-lists@free-electrons.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Adrian Bunk <bunk@stusta.de>
Subject: [PATCH][TRIVIAL] Compile fix for the rtc test program
Date: Sun, 25 Jun 2006 17:40:32 +0200 [thread overview]
Message-ID: <449EAE70.3010000@free-electrons.com> (raw)
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!)
reply other threads:[~2006-06-25 15:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=449EAE70.3010000@free-electrons.com \
--to=michael-lists@free-electrons.com \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox