mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-31 02:39:27 -05:00
Make sldns_str2wire_svcparam_buf() static.
The function is only used in this translation unit and prevents a "no previous prototype" warning.
This commit is contained in:
parent
4034c009bb
commit
25b7eb3c7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue