diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-17 21:38:37 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-17 21:38:37 +0000 |
commit | 02496faab558fa758adf3a24006201cf5ab557fb (patch) | |
tree | b6249838b3a9d5044bedcb8f1978a55d0ed4181c /darray.h | |
parent | a61ad1cef9ef77f9afd67230df5470b6b55525be (diff) | |
download | dm-02496faab558fa758adf3a24006201cf5ab557fb.tar.gz dm-02496faab558fa758adf3a24006201cf5ab557fb.zip |
Fixed structure order in syntax.h to compile on NetBSD
Diffstat (limited to 'darray.h')
-rw-r--r-- | darray.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -8,16 +8,18 @@ #include <string.h> #include <sys/types.h> -//#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; |