diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-06 19:25:06 +1000 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-11-19 13:09:41 +0100 |
commit | e0f21e1cbc26faa558cb955ccda65638a34f4bb1 (patch) | |
tree | 27a10dd86c429b307a13e7e73cefb52a2b5044f9 /include/libfdt.h | |
parent | 7cb73730c85051e8fe53592ba3a92b899571ade4 (diff) | |
download | u-boot-imx-e0f21e1cbc26faa558cb955ccda65638a34f4bb1.zip u-boot-imx-e0f21e1cbc26faa558cb955ccda65638a34f4bb1.tar.gz u-boot-imx-e0f21e1cbc26faa558cb955ccda65638a34f4bb1.tar.bz2 |
microblaze: Fix C99/gnu99 compatiblity for inline functions
'extern inline' is not portable across various C standards. To ensure
compatiblity with various standards/compilers change the functions to
static inline. This is a portable construct and serves as a comparable
definition to 'extern inline' from the gnu90 standard.
Additionally remove the function prototypes as they are not required due
to the functions being declared static and functions are correctly
ordered based on dependence.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Tom Rini <trini@konsulko.com>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/libfdt.h')
0 files changed, 0 insertions, 0 deletions