]> git.sur5r.net Git - u-boot/blobdiff - include/command.h
CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set
[u-boot] / include / command.h
index 6c04cd9007a5ea1bdc05b0580355bb62c0c5fac2..2ae9b6c2e6e582eef50e6d115ed66b65ea9fe053 100644 (file)
@@ -142,6 +142,7 @@ enum command_ret_t {
 int cmd_process(int flag, int argc, char * const argv[],
                               int *repeatable, unsigned long *ticks);
 
+void fixup_cmdtable(cmd_tbl_t *cmdtp, int size);
 #endif /* __ASSEMBLY__ */
 
 /*
@@ -179,8 +180,4 @@ int cmd_process(int flag, int argc, char * const argv[],
 #define U_BOOT_CMD(_name, _maxargs, _rep, _cmd, _usage, _help)         \
        U_BOOT_CMD_COMPLETE(_name, _maxargs, _rep, _cmd, _usage, _help, NULL)
 
-#if defined(CONFIG_NEEDS_MANUAL_RELOC)
-void fixup_cmdtable(cmd_tbl_t *cmdtp, int size);
-#endif
-
 #endif /* __COMMAND_H */