diff --git a/fallback.c b/fallback.c index 41f5a886f..8f206dbef 100644 --- a/fallback.c +++ b/fallback.c @@ -1006,14 +1006,6 @@ wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) #endif -#ifdef HAVE_BROKEN_DEL_CURTERM - -int del_curterm(TERMINAL *oterm) -{ -} - -#endif - #ifndef HAVE_LRAND48_R int lrand48_r(struct drand48_data *buffer, long int *result) diff --git a/fallback.h b/fallback.h index d904192d7..5ffc9ceae 100644 --- a/fallback.h +++ b/fallback.h @@ -304,7 +304,7 @@ size_t wcslcpy( wchar_t *dst, const wchar_t *src, size_t siz ); /** BSD del_curterm seems to do a double-free. We redefine it as a no-op */ -int del_curterm(TERMINAL *oterm); +#define del_curterm(oterm) 1 #endif #ifndef HAVE_LRAND48_R