summaryrefslogtreecommitdiff
path: root/src/html-parse.c
diff options
context:
space:
mode:
authorTim Ruehsen <tim.ruehsen@gmx.de>2012-05-05 15:24:35 +0200
committerGiuseppe Scrivano <gscrivano@gnu.org>2012-05-05 15:24:35 +0200
commit0aa3c5d33c5faa8902fa638c36314deae45460f3 (patch)
treec4128d21e193b6fb85d009a38281fa6da511745f /src/html-parse.c
parent378c2030799bdc51d7240321ad06607c5b2d1a31 (diff)
downloadwget-0aa3c5d33c5faa8902fa638c36314deae45460f3.tar.gz
Fix some compiler warnings.
Diffstat (limited to 'src/html-parse.c')
-rw-r--r--src/html-parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html-parse.c b/src/html-parse.c
index 9fafd8f5..20791cd8 100644
--- a/src/html-parse.c
+++ b/src/html-parse.c
@@ -280,7 +280,7 @@ struct tagstack_item {
struct tagstack_item *next;
};
-struct tagstack_item *
+static struct tagstack_item *
tagstack_push (struct tagstack_item **head, struct tagstack_item **tail)
{
struct tagstack_item *ts = xmalloc(sizeof(struct tagstack_item));
@@ -301,7 +301,7 @@ tagstack_push (struct tagstack_item **head, struct tagstack_item **tail)
}
/* remove ts and everything after it from the stack */
-void
+static void
tagstack_pop (struct tagstack_item **head, struct tagstack_item **tail,
struct tagstack_item *ts)
{
@@ -343,7 +343,7 @@ tagstack_pop (struct tagstack_item **head, struct tagstack_item **tail,
}
}
-struct tagstack_item *
+static struct tagstack_item *
tagstack_find (struct tagstack_item *tail, const char *tagname_begin,
const char *tagname_end)
{