diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-03 20:10:30 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-03 20:10:30 +0000 |
commit | 1a720bbef1c1bbe6bf29abe34b736e077e8dd864 (patch) | |
tree | ba93418726f6aab3084d570d9893ab29cb306e58 /lib/memory.h | |
parent | 606acaa3264d6868ad06d1874137c6aa81ad14e5 (diff) | |
download | quagga-1a720bbef1c1bbe6bf29abe34b736e077e8dd864.tar.bz2 quagga-1a720bbef1c1bbe6bf29abe34b736e077e8dd864.tar.xz |
Initial commit of lib/mqueue.c & .h
Adds message queue structure to manage the passing of messages
between qpthreads.
Diffstat (limited to 'lib/memory.h')
-rw-r--r-- | lib/memory.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 <stddef.h> + /* 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) \ |