summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2021-08-14 07:33:36 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2021-08-14 07:33:36 +0000
commite58c08d75905052a88430efd7786169603be0d23 (patch)
treeebae33d68cdc96b6994da501f2e2aeace91c6162 /sbin
parentb51c864806a066ce617dfcd65951540e719ab080 (diff)
Fix "no previous prototype" warning
OK sthen as part of a larger diff
Diffstat (limited to 'sbin')
-rw-r--r--sbin/unwind/libunbound/sldns/str2wire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/unwind/libunbound/sldns/str2wire.c b/sbin/unwind/libunbound/sldns/str2wire.c
index fbd615cbfd7..293abf79a62 100644
--- a/sbin/unwind/libunbound/sldns/str2wire.c
+++ b/sbin/unwind/libunbound/sldns/str2wire.c
@@ -1565,7 +1565,7 @@ sldns_str2wire_svcparam_value(const char *key, size_t key_len,
return LDNS_WIREPARSE_ERR_GENERAL;
}
-int sldns_str2wire_svcparam_buf(const char* str, uint8_t* rd, size_t* rd_len)
+static int sldns_str2wire_svcparam_buf(const char* str, uint8_t* rd, size_t* rd_len)
{
const char* eq_pos;
char unescaped_val[LDNS_MAX_RDFLEN];