cleanup header includes - grabtitle - stupid HTML title grabber | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c17b7c1af8b4c7ef64267cd2ab1c5455ba80fb52 | |
parent 38f1c2aa05094b98f4c5ea8bec8161f2b663684d | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 30 May 2020 13:44:09 +0200 | |
cleanup header includes | |
Diffstat: | |
M grabtitle.c | 2 -- | |
M xml.c | 3 --- | |
M xml.h | 2 ++ | |
3 files changed, 2 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/grabtitle.c b/grabtitle.c | |
@@ -1,5 +1,3 @@ | |
-#include <sys/types.h> | |
- | |
#include <ctype.h> | |
#include <errno.h> | |
#include <stdio.h> | |
diff --git a/xml.c b/xml.c | |
@@ -1,8 +1,5 @@ | |
-#include <sys/types.h> | |
- | |
#include <ctype.h> | |
#include <errno.h> | |
-#include <limits.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
diff --git a/xml.h b/xml.h | |
@@ -1,6 +1,8 @@ | |
#ifndef _XML_H | |
#define _XML_H | |
+#include <stdio.h> | |
+ | |
typedef struct xmlparser { | |
/* handlers */ | |
void (*xmlcdata)(struct xmlparser *, const char *, size_t); |