aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--fallback.c8
-rw-r--r--fallback.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/fallback.c b/fallback.c
index 41f5a886..8f206dbe 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 d904192d..5ffc9cea 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