diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-23 20:35:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-27 14:57:45 +0100 |
commit | c0f074714e34145dd6cdac6df5c325fdce649f01 (patch) | |
tree | 59705393a00db1a2d5cb4a8ac46f95891d3eca2e /meta-skeleton/recipes-multilib | |
parent | 5b3831fa52a38640ec529d2ffb366c8fffce3a51 (diff) | |
download | openembedded-core-c0f074714e34145dd6cdac6df5c325fdce649f01.tar.gz openembedded-core-c0f074714e34145dd6cdac6df5c325fdce649f01.tar.bz2 openembedded-core-c0f074714e34145dd6cdac6df5c325fdce649f01.zip |
insserv: Fix build with gcc5 and clang
Kill 2 bugs with one patch
| insserv.c:997:5: note: each undeclared identifier is reported only
once for each function it appears in
| insserv.c:997:15: error: expected ';' before 'char'
| extension char buf[strlen(myname)+2+strlen(fmt)+1];
| ^
| insserv.c: In function 'main':
| insserv.c:2379:5: error: 'extension' undeclared (first use in this
function)
| extension char * argr[argc];
| ^
| insserv.c:2379:15: error: expected ';' before 'char'
| extension char * argr[argc];
| ^
| insserv.c:2401:2: error: 'argr' undeclared (first use in this
function)
| argr[c] = (char*)0;
| ^
Change-Id: I36b7fb9e8baeda5a7cc252da10c0527401248226
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/recipes-multilib')
0 files changed, 0 insertions, 0 deletions