mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
document/dom: Some symbols should be static
This commit is contained in:
parent
4003e6decf
commit
445a0ae600
@ -4,12 +4,6 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h> /* FreeBSD needs this before regex.h */
|
||||
#ifdef HAVE_REGEX_H
|
||||
#include <regex.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
#include "document/document.h"
|
||||
@ -26,7 +20,7 @@
|
||||
/* DOM RSS Renderer */
|
||||
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
dom_rss_push_element(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
@ -72,7 +66,7 @@ dom_rss_push_element(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
return DOM_CODE_OK;
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
dom_rss_pop_element(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
@ -183,7 +177,7 @@ render_rss_item(struct dom_renderer *renderer, struct dom_node *item)
|
||||
}
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
dom_rss_pop_document(struct dom_stack *stack, struct dom_node *root, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
|
@ -160,7 +160,7 @@ render_dom_element_source(struct dom_stack *stack, struct dom_node *node, void *
|
||||
return DOM_CODE_OK;
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
render_dom_element_end_source(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
@ -207,7 +207,7 @@ set_base_uri(struct dom_renderer *renderer, unsigned char *value, size_t valuele
|
||||
renderer->base_uri = uri;
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
render_dom_attribute_source(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
@ -282,7 +282,7 @@ render_dom_attribute_source(struct dom_stack *stack, struct dom_node *node, void
|
||||
return DOM_CODE_OK;
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
render_dom_cdata_source(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
@ -303,7 +303,7 @@ render_dom_cdata_source(struct dom_stack *stack, struct dom_node *node, void *da
|
||||
return DOM_CODE_OK;
|
||||
}
|
||||
|
||||
enum dom_code
|
||||
static enum dom_code
|
||||
render_dom_document_end(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
{
|
||||
struct dom_renderer *renderer = stack->current->data;
|
||||
|
Loading…
Reference in New Issue
Block a user