diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 19:38:02 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 19:40:23 +1300 |
commit | 2e8a62385439a1e2bf12ec058812eef4fd5b2947 (patch) | |
tree | 2b2fc35990f7b78a9f17f61de43ca8bee5b1b39d | |
parent | First commit wtf8(1), tiny UTF-8 inspector (diff) | |
download | wtf8-2e8a62385439a1e2bf12ec058812eef4fd5b2947.tar.gz wtf8-2e8a62385439a1e2bf12ec058812eef4fd5b2947.zip |
Move includes into header file
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | wtf8.c | 3 | ||||
-rw-r--r-- | wtf8.h | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -5,5 +5,8 @@ CFLAGS = -std=c99 -Weverything -Wno-padded all : wtf8 +wtf8 : wtf8.c wtf8.h + $(CC) $(CFLAGS) wtf8.c -o $@ + clean : rm -f wtf8 @@ -1,5 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> +#include "wtf8.h" int main(int argc, char **argv) { char *p; @@ -0,0 +1,2 @@ +#include <stdio.h> +#include <stdlib.h> |