summaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-04-02 15:03:30 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-04-02 15:03:30 +0200
commitd629a1d5c10a1e1a04e463b166e00c74c65702ac (patch)
tree13ab1208269138bc13580aaabaeee1695aa16e09 /xml.c
parent3dd08b08c0cdc4d4549d9680b4871ab224fc8f0d (diff)
Makefile: add sfeed_web, use c99 for build
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xml.c b/xml.c
index fd19f1f..d223625 100644
--- a/xml.c
+++ b/xml.c
@@ -11,7 +11,7 @@ xmlparser_init(XMLParser *x, FILE *fp) {
x->fp = fp;
}
-__inline__ int /* like getc(), but do some smart buffering */
+static __inline__ int /* like getc(), but do some smart buffering */
xmlparser_getnext(XMLParser *x) {
if(x->readoffset >= x->readlastbytes) {
x->readoffset = 0;
@@ -21,7 +21,7 @@ xmlparser_getnext(XMLParser *x) {
return (int)x->readbuf[x->readoffset++];
}
-__inline__ void
+static __inline__ void
xmlparser_parseattrs(XMLParser *x) {
size_t namelen = 0, valuelen;
int c, endsep, endname = 0;
@@ -114,7 +114,7 @@ xmlparser_parseattrs(XMLParser *x) {
}
}
-__inline__ void
+static __inline__ void
xmlparser_parsecomment(XMLParser *x) {
size_t datalen = 0, i = 0;
int c;
@@ -157,7 +157,7 @@ xmlparser_parsecomment(XMLParser *x) {
* test comment function too for similar bug?
*
*/
-__inline__ void
+static __inline__ void
xmlparser_parsecdata(XMLParser *x) {
size_t datalen = 0, i = 0;
int c;