From 7034ce096be0a0fed8368795c334b8594bb457c3 Mon Sep 17 00:00:00 2001 From: Alex Baines Date: Wed, 14 Mar 2018 23:01:50 +0000 Subject: [PATCH] hmmlib.h: don't include stdbool --- hmmlib/hmmlib.h | 6 ++---- hmmlib/makefile | 5 +++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hmmlib/hmmlib.h b/hmmlib/hmmlib.h index 2703243..8c89cc5 100644 --- a/hmmlib/hmmlib.h +++ b/hmmlib/hmmlib.h @@ -1,8 +1,6 @@ #ifndef HMML_H_ #define HMML_H_ -#include #include -#include #include // Data structures @@ -81,7 +79,7 @@ typedef struct { size_t marker_count; HMML_Quote quote; - bool is_quote; + _Bool is_quote; } HMML_Annotation; typedef struct { @@ -90,7 +88,7 @@ typedef struct { } HMML_Error; typedef struct { - bool well_formed; + _Bool well_formed; HMML_VideoMetaData metadata; HMML_Annotation* annotations; size_t annotation_count; diff --git a/hmmlib/makefile b/hmmlib/makefile index 558949f..12b29dc 100644 --- a/hmmlib/makefile +++ b/hmmlib/makefile @@ -8,3 +8,8 @@ hmmlib.o: hmmlib.c example: example.c hmml.a gcc -g $^ -o $@ + +clean: + $(RM) hmml.a hmmlib.o example + +.PHONY: clean