From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH] fix "no previous prototype for 'sbrk'" warning
Date: Thu, 8 Dec 2011 14:17:42 +0400 [thread overview]
Message-ID: <1323339462-24144-1-git-send-email-antonynpavlov@gmail.com> (raw)
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
common/memory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/memory.c b/common/memory.c
index 7d0f4ca..8090baa 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -28,6 +28,7 @@
#include <linux/ioport.h>
#include <asm-generic/memory_layout.h>
#include <asm/sections.h>
+#include <malloc.h>
/*
* Begin and End of memory area for malloc(), and current "brk"
--
1.7.7.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
reply other threads:[~2011-12-08 10:17 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=1323339462-24144-1-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.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