cleanup header includes - grabtitle - stupid HTML title grabber
(HTM) git clone git://git.codemadness.org/grabtitle
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c17b7c1af8b4c7ef64267cd2ab1c5455ba80fb52
(DIR) parent 38f1c2aa05094b98f4c5ea8bec8161f2b663684d
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
(DIR) 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>
(DIR) 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>
(DIR) 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);