summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 16:49:04 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 16:49:04 +0100
commit9d19f7f844be74359b054d3bf395d6fdff5c20f8 (patch)
tree914bdb310b9d0db2a42a17809911a0bc93e39f26 /util.h
parent99d1766681b543dc0e2e50138c473fbcabd1c809 (diff)
improve compat
Diffstat (limited to 'util.h')
-rw-r--r--util.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util.h b/util.h
index 67b2f2a..5b876f0 100644
--- a/util.h
+++ b/util.h
@@ -2,6 +2,7 @@
#include "compat.h"
#endif
+#include <stdio.h>
#include <time.h>
#define ISUTF8(c) (((c) & 0xc0) != 0x80)
@@ -20,10 +21,9 @@ enum { FieldUnixTimestamp = 0, FieldTimeFormatted, FieldTitle, FieldLink,
FieldContent, FieldContentType, FieldId, FieldAuthor, FieldFeedType,
FieldFeedName, FieldFeedUrl, FieldBaseSiteUrl, FieldLast };
-void feedsfree(struct feed *f);
-unsigned int parseline(char **line, size_t *size, char **fields,
- unsigned int maxfields, int separator, FILE *fp);
-void printfeednameid(const char *s, FILE *fp);
-void printhtmlencoded(const char *s, FILE *fp);
-void printlink(const char *link, const char *baseurl, FILE *fp);
-void printutf8pad(FILE *fp, const char *s, size_t len, int pad);
+void feedsfree(struct feed *);
+unsigned int parseline(char **, size_t *, char **, unsigned int, int, FILE *);
+void printfeednameid(const char *, FILE *);
+void printhtmlencoded(const char *, FILE *);
+void printlink(const char *, const char *, FILE *);
+void printutf8pad(FILE *, const char *, size_t, int);