diff options
-rw-r--r-- | impl.c | 7 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/impl.c b/impl.c new file mode 100644 index 0000000..8226629 --- /dev/null +++ b/impl.c @@ -0,0 +1,7 @@ +#define STR_IMPL +#define ARENA_IMPL +#define ARGS_IMPL + +#include "str.h" +#include "arena.h" +#include "args.h" diff --git a/main.c b/main.c index 8336728..553ed06 100644 --- a/main.c +++ b/main.c @@ -8,10 +8,8 @@ #include <errno.h> #include <sys/mman.h> -#define ARENA_IMPL #include "str.h" #include "arena.h" -#define ARGS_IMPL #include "args.h" #define ARENA(n, sz) Arena n; { static char arena_backarr[sz];\ |