aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch
AgeCommit message (Collapse)Author
2015-05-12insserv: RemoveRichard Purdie
Remove insserv from OE-Core. It did have uses but we've optimised the sysvinit scripts as needed and there are other directions init systems are moving now. It no longer belongs in the core. (From OE-Core rev: 9650efb5bb8fc77627dd567e43f8768b34a22abb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27insserv: Fix build with gcc5 and clangKhem Raj
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 (From OE-Core rev: c0f074714e34145dd6cdac6df5c325fdce649f01) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>