summaryrefslogtreecommitdiffstats
path: root/contrib/ldns/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ldns/parse.c')
-rw-r--r--contrib/ldns/parse.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/ldns/parse.c b/contrib/ldns/parse.c
index 4a3a4a7..8849eff 100644
--- a/contrib/ldns/parse.c
+++ b/contrib/ldns/parse.c
@@ -340,20 +340,6 @@ tokenread:
return (ssize_t)i;
}
-#if 0
-static void
-ldns_bskipc(ldns_buffer *buffer, char c)
-{
- while (c == (char) ldns_buffer_read_u8_at(buffer, ldns_buffer_position(buffer))) {
- if (ldns_buffer_available_at(buffer,
- buffer->_position + sizeof(char), sizeof(char))) {
- buffer->_position += sizeof(char);
- } else {
- return;
- }
- }
-}
-#endif
void
ldns_bskipcs(ldns_buffer *buffer, const char *s)
@@ -378,13 +364,6 @@ ldns_bskipcs(ldns_buffer *buffer, const char *s)
}
}
-#if 0
-static void
-ldns_fskipc(ATTR_UNUSED(FILE *fp), ATTR_UNUSED(char c))
-{
-}
-#endif
-
void
ldns_fskipcs(FILE *fp, const char *s)
{
OpenPOWER on IntegriCloud