Skip to content
Snippets Groups Projects
Commit 3c766dcc authored by Jason Hobbs's avatar Jason Hobbs Committed by Wolfgang Denk
Browse files

cosmetic, main: clean up declarations of abortboot


Remove an unneeded prototype declaration from the top of main.c,
and use plain inline instead of __inline__ to please checkpatch.

Signed-off-by: default avatarJason Hobbs <jason.hobbs@calxeda.com>
parent f0ece9e9
No related branches found
No related tags found
No related merge requests found
...@@ -56,10 +56,6 @@ void update_tftp (void); ...@@ -56,10 +56,6 @@ void update_tftp (void);
#define MAX_DELAY_STOP_STR 32 #define MAX_DELAY_STOP_STR 32
#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
static int abortboot(int);
#endif
#undef DEBUG_PARSER #undef DEBUG_PARSER
char console_buffer[CONFIG_SYS_CBSIZE + 1]; /* console I/O buffer */ char console_buffer[CONFIG_SYS_CBSIZE + 1]; /* console I/O buffer */
...@@ -91,7 +87,7 @@ extern void mdm_init(void); /* defined in board.c */ ...@@ -91,7 +87,7 @@ extern void mdm_init(void); /* defined in board.c */
*/ */
#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0) #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
# if defined(CONFIG_AUTOBOOT_KEYED) # if defined(CONFIG_AUTOBOOT_KEYED)
static __inline__ int abortboot(int bootdelay) static inline int abortboot(int bootdelay)
{ {
int abort = 0; int abort = 0;
uint64_t etime = endtick(bootdelay); uint64_t etime = endtick(bootdelay);
...@@ -205,7 +201,7 @@ static __inline__ int abortboot(int bootdelay) ...@@ -205,7 +201,7 @@ static __inline__ int abortboot(int bootdelay)
static int menukey = 0; static int menukey = 0;
#endif #endif
static __inline__ int abortboot(int bootdelay) static inline int abortboot(int bootdelay)
{ {
int abort = 0; int abort = 0;
......
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