9
0
Fork 0
Commit Graph

2 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther e918d9035f compiler: Make ubi/ubifs compile with its unused variables
Not sure why these were missing but they are very much needed to
compile the ubi code.

Fixes:
| drivers/mtd/ubi/attach.c:808:2: warning: parameter names (without types) in function declaration
|   long long uninitialized_var(ec);
|   ^~~~
| drivers/mtd/ubi/attach.c:847:3: error: 'ec' undeclared (first use in this function)
|    ec = UBI_UNKNOWN;
|    ^~
2017-03-30 00:00:35 +02:00
Holger Hans Peter Freyther 34a48171a6 misc: Include compiler-gcc5.h from u-boot/linux
Upstream barebox has removed the compiler-gcc3/4 header files for
a unified header but I do not want to risk breaking gcc4 support
for the unknown gcc5 work right now.
2015-11-25 16:34:41 +01:00