summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-01-04 18:02:55 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-01-04 18:02:55 +0000
commit3c698793a0f0a33d082aab29de5169d188b733be (patch)
treea98bedbf0b748f5e9bf9bbae312fc377d23cf550
parent26a8af2cbc6c01792dbc47c4dab3635b0021dc03 (diff)
downloadnetsurf-3c698793a0f0a33d082aab29de5169d188b733be.tar.gz
netsurf-3c698793a0f0a33d082aab29de5169d188b733be.tar.bz2
Make function only used in the selection code private.
svn path=/trunk/netsurf/; revision=11193
-rw-r--r--css/select.c3
-rw-r--r--css/select.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/css/select.c b/css/select.c
index d0d20ad56..9d7a2d8ba 100644
--- a/css/select.c
+++ b/css/select.c
@@ -80,6 +80,9 @@ static bool parse_dimension(const char *data, bool strict,
static bool parse_number(const char *data, bool non_negative, bool real,
css_fixed *value, size_t *consumed);
+static css_computed_style *nscss_get_initial_style(struct content *html,
+ css_allocator_fn, void *pw);
+
static bool isWhitespace(char c);
static bool isHex(char c);
static uint8_t charToHex(char c);
diff --git a/css/select.h b/css/select.h
index 06868d5b2..770548d84 100644
--- a/css/select.h
+++ b/css/select.h
@@ -36,9 +36,6 @@ css_computed_style *nscss_get_style(struct content *html, xmlNode *n,
const css_stylesheet *inline_style,
css_allocator_fn alloc, void *pw);
-css_computed_style *nscss_get_initial_style(struct content *html,
- css_allocator_fn, void *pw);
-
css_computed_style *nscss_get_blank_style(struct content *html,
const css_computed_style *parent,
css_allocator_fn alloc, void *pw);