--- hatari/src/debug/debug_priv.h 2019/04/09 08:54:21 1.1.1.4 +++ hatari/src/debug/debug_priv.h 2019/04/09 08:58:02 1.1.1.6 @@ -25,6 +25,7 @@ typedef struct extern FILE *debugOutput; extern int DebugUI_PrintCmdHelp(const char *psCmd); +extern int DebugUI_GetPageLines(int config, int defvalue); extern char *DebugUI_MatchHelper(const char **strings, int items, const char *text, int state); @@ -37,7 +38,7 @@ extern bool DebugUI_ParseFile(const char extern int DebugDsp_Init(const dbgcommand_t **table); extern void DebugDsp_InitSession(void); #else /* !ENABLE_DSP_EMU */ -static inline int DebugDsp_Init(const dbgcommand_t **t) { t = NULL; return 0; } +static inline int DebugDsp_Init(const dbgcommand_t **t) { *t = NULL; return 0; } #define DebugDsp_InitSession() #endif /* !ENABLE_DSP_EMU */