summaryrefslogtreecommitdiff
path: root/basicdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'basicdefs.h')
-rw-r--r--basicdefs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/basicdefs.h b/basicdefs.h
index df759fc..db109a3 100644
--- a/basicdefs.h
+++ b/basicdefs.h
@@ -26,13 +26,10 @@
#include <gettext.h>
#define _(String) gettext(String)
-/* type countT is used to keep track of line numbers, etc. */
-typedef unsigned long countT;
-
+#include "idx.h"
#include "xalloc.h"
/* some basic definitions to avoid undue promulgating of ugliness */
-#define REALLOC(x,n,t) ((t *)xnrealloc((void *)(x),(n),sizeof(t)))
#define MEMDUP(x,n,t) ((t *)xmemdup((x),(n)*sizeof(t)))
#define OB_MALLOC(o,n,t) ((t *)(void *)obstack_alloc(o,(n)*sizeof(t)))