From 02496faab558fa758adf3a24006201cf5ab557fb Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 17 Dec 2015 21:38:37 +0000 Subject: Fixed structure order in syntax.h to compile on NetBSD --- darray.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'darray.h') diff --git a/darray.h b/darray.h index 8d8f9e9..0ed64e2 100644 --- a/darray.h +++ b/darray.h @@ -8,16 +8,18 @@ #include #include -//#include "debug.h" -//#include "mmm.h" +/* +#include "debug.h" +#include "mmm.h" +*/ #define DEFAULT_EXPAND_RATE 10 typedef struct darray { - int end; //element amount. end <= max - int max; //maximal element number - size_t size; //single element size - size_t expand; //expand size + int end; /*element amount. end <= max */ + int max; /*maximal element number */ + size_t size; /*single element size */ + size_t expand; /*expand size */ void **data; } darray; -- cgit v1.2.3