diff options
-rw-r--r-- | sfeed.c | 2 | ||||
-rw-r--r-- | sfeed_atom.c | 2 | ||||
-rw-r--r-- | sfeed_frames.c | 7 | ||||
-rw-r--r-- | sfeed_gopher.c | 6 | ||||
-rw-r--r-- | sfeed_mbox.c | 1 | ||||
-rw-r--r-- | sfeed_opml_import.c | 5 | ||||
-rw-r--r-- | sfeed_plain.c | 2 | ||||
-rw-r--r-- | sfeed_twtxt.c | 4 | ||||
-rw-r--r-- | sfeed_web.c | 5 | ||||
-rw-r--r-- | sfeed_xmlenc.c | 3 | ||||
-rw-r--r-- | strlcat.c | 1 | ||||
-rw-r--r-- | strlcpy.c | 1 | ||||
-rw-r--r-- | util.c | 5 | ||||
-rw-r--r-- | util.h | 5 | ||||
-rw-r--r-- | xml.c | 3 | ||||
-rw-r--r-- | xml.h | 2 |
16 files changed, 8 insertions, 46 deletions
@@ -3,11 +3,11 @@ #include <ctype.h> #include <err.h> #include <errno.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> -#include <time.h> #include "util.h" #include "xml.h" diff --git a/sfeed_atom.c b/sfeed_atom.c index a9c6589..844bd2e 100644 --- a/sfeed_atom.c +++ b/sfeed_atom.c @@ -1,9 +1,7 @@ #include <sys/types.h> -#include <ctype.h> #include <err.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <time.h> diff --git a/sfeed_frames.c b/sfeed_frames.c index 43ffcd3..16d7871 100644 --- a/sfeed_frames.c +++ b/sfeed_frames.c @@ -1,17 +1,10 @@ -#include <sys/stat.h> #include <sys/types.h> -#include <ctype.h> #include <err.h> -#include <errno.h> -#include <fcntl.h> -#include <limits.h> -#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> -#include <unistd.h> #include "util.h" diff --git a/sfeed_gopher.c b/sfeed_gopher.c index 4100c62..27f23ef 100644 --- a/sfeed_gopher.c +++ b/sfeed_gopher.c @@ -1,17 +1,11 @@ -#include <sys/stat.h> #include <sys/types.h> -#include <ctype.h> #include <err.h> -#include <errno.h> -#include <fcntl.h> #include <limits.h> -#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> -#include <unistd.h> #include "util.h" diff --git a/sfeed_mbox.c b/sfeed_mbox.c index d4d6bc3..eabe5fa 100644 --- a/sfeed_mbox.c +++ b/sfeed_mbox.c @@ -1,5 +1,4 @@ #include <err.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 0802542..47cc1ab 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -1,12 +1,7 @@ -#include <sys/types.h> - #include <ctype.h> #include <err.h> #include <stdio.h> -#include <stdlib.h> -#include <string.h> #include <strings.h> -#include <time.h> #include "util.h" #include "xml.h" diff --git a/sfeed_plain.c b/sfeed_plain.c index ab9a634..e08e466 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -1,10 +1,8 @@ #include <sys/types.h> -#include <ctype.h> #include <err.h> #include <locale.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <time.h> diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c index 46f5066..cda85ee 100644 --- a/sfeed_twtxt.c +++ b/sfeed_twtxt.c @@ -1,7 +1,7 @@ -#include <ctype.h> +#include <sys/types.h> + #include <err.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <time.h> diff --git a/sfeed_web.c b/sfeed_web.c index d967e91..745d88e 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -1,12 +1,7 @@ -#include <sys/types.h> - #include <ctype.h> #include <err.h> #include <stdio.h> -#include <stdlib.h> -#include <string.h> #include <strings.h> -#include <time.h> #include "util.h" #include "xml.h" diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c index ee62741..15372b4 100644 --- a/sfeed_xmlenc.c +++ b/sfeed_xmlenc.c @@ -1,10 +1,7 @@ -#include <sys/types.h> - #include <ctype.h> #include <err.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <strings.h> #include "util.h" @@ -16,7 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> #include <string.h> /* @@ -16,7 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> #include <string.h> /* @@ -1,13 +1,8 @@ -#include <sys/types.h> - #include <ctype.h> #include <errno.h> -#include <limits.h> -#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <time.h> #include <wchar.h> #include "util.h" @@ -1,5 +1,6 @@ -#include <stdint.h> -#include <time.h> +#include <sys/types.h> + +#include <stdio.h> #ifdef __OpenBSD__ #include <unistd.h> @@ -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> @@ -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, |