hmmlib.h: don't include stdbool

This commit is contained in:
Alex Baines 2018-03-14 23:01:50 +00:00
parent de2c632806
commit 7034ce096b
2 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,6 @@
#ifndef HMML_H_ #ifndef HMML_H_
#define HMML_H_ #define HMML_H_
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdbool.h>
#include <stdio.h> #include <stdio.h>
// Data structures // Data structures
@ -81,7 +79,7 @@ typedef struct {
size_t marker_count; size_t marker_count;
HMML_Quote quote; HMML_Quote quote;
bool is_quote; _Bool is_quote;
} HMML_Annotation; } HMML_Annotation;
typedef struct { typedef struct {
@ -90,7 +88,7 @@ typedef struct {
} HMML_Error; } HMML_Error;
typedef struct { typedef struct {
bool well_formed; _Bool well_formed;
HMML_VideoMetaData metadata; HMML_VideoMetaData metadata;
HMML_Annotation* annotations; HMML_Annotation* annotations;
size_t annotation_count; size_t annotation_count;

View File

@ -8,3 +8,8 @@ hmmlib.o: hmmlib.c
example: example.c hmml.a example: example.c hmml.a
gcc -g $^ -o $@ gcc -g $^ -o $@
clean:
$(RM) hmml.a hmmlib.o example
.PHONY: clean