diff options
-rw-r--r-- | sfeed_opml_import.c | 2 | ||||
-rw-r--r-- | sfeed_web.c | 2 | ||||
-rw-r--r-- | sfeed_xmlenc.c | 1 | ||||
-rw-r--r-- | util.c | 2 | ||||
-rw-r--r-- | xml.c | 1 | ||||
-rw-r--r-- | xml.h | 4 |
6 files changed, 7 insertions, 5 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index db10ea7..7f7cf91 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -1,8 +1,10 @@ /* convert an opml file to sfeedrc file */ +#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_web.c b/sfeed_web.c index 5ad6449..075cedd 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -1,8 +1,10 @@ #include <ctype.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_xmlenc.c b/sfeed_xmlenc.c index e08099d..52fa5a8 100644 --- a/sfeed_xmlenc.c +++ b/sfeed_xmlenc.c @@ -1,4 +1,5 @@ #include <ctype.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -73,7 +73,7 @@ readpath: return strlcat(u->path, p, sizeof(u->path)) >= sizeof(u->path) ? -1 : 0; } -/* get absolute uri; if link is relative use baseuri to make it absolute */ +/* get absolute uri; if `link` is relative use `base` to make it absolute. */ int absuri(const char *link, const char *base, char *buf, size_t bufsiz) { @@ -1,5 +1,6 @@ #include <ctype.h> #include <errno.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1,7 +1,3 @@ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - typedef struct xmlparser { /* handlers */ void (*xmltagstart)(struct xmlparser *, const char *, size_t); |