diff options
-rw-r--r-- | fallback.c | 8 | ||||
-rw-r--r-- | fallback.h | 2 |
2 files changed, 1 insertions, 9 deletions
@@ -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) @@ -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 |