summaryrefslogtreecommitdiff
path: root/lib/libedit/el.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-17 06:07:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-17 06:07:51 +0000
commit2fc87aaf4f058bd3567ac9f2b5e11fcbd8145b30 (patch)
treea68f80bfdd2783b171721145f8ef0653a7495e04 /lib/libedit/el.h
parentedc23c755c5272dc39fee3694ffee0a4b023345d (diff)
Remove non-exposed malloc/realloc/free wrappers, and then substitute
reallocarray() where it helps. ok doug
Diffstat (limited to 'lib/libedit/el.h')
-rw-r--r--lib/libedit/el.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libedit/el.h b/lib/libedit/el.h
index 189b619b90d..092527d99c8 100644
--- a/lib/libedit/el.h
+++ b/lib/libedit/el.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: el.h,v 1.8 2011/07/07 05:40:42 okan Exp $ */
+/* $OpenBSD: el.h,v 1.9 2014/10/17 06:07:50 deraadt Exp $ */
/* $NetBSD: el.h,v 1.21 2009/12/31 15:58:26 christos Exp $ */
/*-
@@ -92,13 +92,6 @@ typedef struct el_state_t {
Char thisch; /* char that generated it */
} el_state_t;
-/*
- * Until we come up with something better...
- */
-#define el_malloc(a) malloc(a)
-#define el_realloc(a,b) realloc(a, b)
-#define el_free(a) free(a)
-
#include "tty.h"
#include "prompt.h"
#include "key.h"