From a21c8589efeb008679441ea8d153386ae95c1bec Mon Sep 17 00:00:00 2001 From: Alexander Bolodurin Date: Mon, 3 Mar 2014 20:37:53 +1100 Subject: Remove traces of old custom undo memory manager. There were two memory management implementations, standard malloc-based, and a custom allocator. Removed in rev 2230 in the Mercurial repo. --- src/structs.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/structs.h b/src/structs.h index 639d50f674..3c0232e4f3 100644 --- a/src/structs.h +++ b/src/structs.h @@ -291,32 +291,6 @@ struct u_header { #define UH_CHANGED 0x01 /* b_changed flag before undo/after redo */ #define UH_EMPTYBUF 0x02 /* buffer was empty */ -/* - * structures used in undo.c - */ -#if SIZEOF_INT > 2 -# define ALIGN_LONG /* longword alignment and use filler byte */ -# define ALIGN_SIZE (sizeof(long)) -#else -# define ALIGN_SIZE (sizeof(short)) -#endif - -#define ALIGN_MASK (ALIGN_SIZE - 1) - -typedef struct m_info minfo_T; - -/* - * structure used to link chunks in one of the free chunk lists. - */ -struct m_info { -#ifdef ALIGN_LONG - long_u m_size; /* size of the chunk (including m_info) */ -#else - short_u m_size; /* size of the chunk (including m_info) */ -#endif - minfo_T *m_next; /* pointer to next free chunk in the list */ -}; - /* * things used in memfile.c */ -- cgit