diff options
author | Alexander Aring <alex.aring@gmail.com> | 2013-11-07 06:46:00 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-07 08:10:44 +0100 |
commit | 29ab38ef1c4f1c2eb154a0e470ee4501e109e5c7 (patch) | |
tree | 5e4422e3fab3d62480afc845ec67bd9554d14210 /commands | |
parent | c3a0d67f77eec29ad2a3eb24a328becfd693ab8f (diff) | |
download | barebox-29ab38ef1c4f1c2eb154a0e470ee4501e109e5c7.tar.gz barebox-29ab38ef1c4f1c2eb154a0e470ee4501e109e5c7.tar.xz |
dlmalloc: fix compiler warning
This patch fix a compiler warning while building sandbox barebox with
gcc version 4.8.2.
common/dlmalloc.c: In function ‘barebox_calloc’:
common/dlmalloc.c:1756:2: warning: ISO C90 forbids mixed declarations
and code [-Wdeclaration-after-statement]
void *mem = malloc(sz);
^
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions