Skip to content
Snippets Groups Projects
Commit e0f21e1c authored by Nathan Rossi's avatar Nathan Rossi Committed by Michal Simek
Browse files

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: default avatarNathan Rossi <nathan@nathanrossi.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Tom Rini <trini@konsulko.com>
Acked-by: default avatarMans Rullgard <mans@mansr.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 7cb73730
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment