cleanup some includes - xmlparser - XML parser
HTML git clone git://git.codemadness.org/xmlparser
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b276cff61206ddd969e3963edd886e8ee0a5ea8f
DIR parent c37fc4290e718628f2aeeffcae135861948ff831
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 28 Jan 2020 21:56:07 +0100
cleanup some includes
Diffstat:
M skeleton.c | 2 --
M xml.c | 3 ---
M xml.h | 2 ++
3 files changed, 2 insertions(+), 5 deletions(-)
---
DIR diff --git a/skeleton.c b/skeleton.c
@@ -1,5 +1,3 @@
-#include <sys/types.h>
-
#include <stdio.h>
#include "xml.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 (*xmlattr)(struct xmlparser *, const char *, size_t,