Introduction
Introduction Statistics Contact Development Disclaimer Help
cleanup some includes - xmlparser - XML parser
git clone git://git.codemadness.org/xmlparser
Log
Files
Refs
README
LICENSE
---
commit b276cff61206ddd969e3963edd886e8ee0a5ea8f
parent c37fc4290e718628f2aeeffcae135861948ff831
Author: Hiltjo Posthuma <[email protected]>
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(-)
---
diff --git a/skeleton.c b/skeleton.c
@@ -1,5 +1,3 @@
-#include <sys/types.h>
-
#include <stdio.h>
#include "xml.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 (*xmlattr)(struct xmlparser *, const char *, size_t,
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.