@@ -851,38 +851,37 @@ static fl_error_t cmd_enable(fl_context_t* ctx, const cmd_args_t* args) {
851851 return FL_OK ;
852852}
853853
854- __attribute__((noinline )) void fl_hello (void ) {
855- fl_response (true, "HELLO from original fl_hello(%p) function!" , (void * )fl_hello );
856- }
857-
858- static fl_error_t cmd_hello (fl_context_t * ctx , const cmd_args_t * args ) {
859- (void )ctx ;
860- (void )args ;
861- fl_hello ();
862- return FL_OK ;
863- }
864-
865854#else /* FL_NO_FPB */
866855
867- #define FL_NO_FPB_CMD (name ) \
868- static fl_error_t name(fl_context_t* ctx, const cmd_args_t* args) { \
869- (void)ctx; \
870- (void)args; \
871- fl_response(false, "FPB disabled (FL_NO_FPB)"); \
872- return FL_ERR_DISABLED; \
856+ #define FL_NO_FPB_CMD (name ) \
857+ static fl_error_t name(fl_context_t* ctx, const cmd_args_t* args) { \
858+ (void)ctx; \
859+ (void)args; \
860+ fl_response(false, "FPB disabled (FL_NO_FPB)"); \
861+ return FL_ERR_DISABLED; \
873862 }
874863
875864FL_NO_FPB_CMD (cmd_patch )
876865FL_NO_FPB_CMD (cmd_tpatch )
877866FL_NO_FPB_CMD (cmd_dpatch )
878867FL_NO_FPB_CMD (cmd_unpatch )
879868FL_NO_FPB_CMD (cmd_enable )
880- FL_NO_FPB_CMD (cmd_hello )
881869
882870#undef FL_NO_FPB_CMD
883871
884872#endif /* FL_NO_FPB */
885873
874+ __attribute__((noinline )) void fl_hello (void ) {
875+ fl_response (true, "HELLO from original fl_hello(%p) function!" , (void * )fl_hello );
876+ }
877+
878+ static fl_error_t cmd_hello (fl_context_t * ctx , const cmd_args_t * args ) {
879+ (void )ctx ;
880+ (void )args ;
881+ fl_hello ();
882+ return FL_OK ;
883+ }
884+
886885/* ===========================
887886 FILE TRANSFER COMMANDS
888887 =========================== */
0 commit comments