From 1a720bbef1c1bbe6bf29abe34b736e077e8dd864 Mon Sep 17 00:00:00 2001 From: "Chris Hall (GMCH)" Date: Thu, 3 Dec 2009 20:10:30 +0000 Subject: Initial commit of lib/mqueue.c & .h Adds message queue structure to manage the passing of messages between qpthreads. --- lib/memory.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/memory.h') diff --git a/lib/memory.h b/lib/memory.h index 037efef2..fd9f1b97 100644 --- a/lib/memory.h +++ b/lib/memory.h @@ -21,6 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _ZEBRA_MEMORY_H #define _ZEBRA_MEMORY_H +#include + /* For pretty printing of memory allocate information. */ struct memory_list { @@ -33,10 +35,10 @@ struct mlist { const char *name; }; -#include "lib/memtypes.h" - extern struct mlist mlists[]; +#include "lib/memtypes.h" + /* #define MEMORY_LOG */ #ifdef MEMORY_LOG #define XMALLOC(mtype, size) \ -- cgit v1.2.3