mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
r335795 build fix: make static functions static
-Werror,-Wmissing-prototypes makes this an error otherwise. MFC with: 335795 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
52b3619f45
commit
5b2b45a421
1 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ static void kdebug_sadb_x_natt(struct sadb_ext *);
|
|||
|
||||
/* NOTE: host byte order */
|
||||
|
||||
const char*
|
||||
static const char*
|
||||
kdebug_sadb_type(uint8_t type)
|
||||
{
|
||||
#define SADB_NAME(n) case SADB_ ## n: return (#n)
|
||||
|
|
@ -120,7 +120,7 @@ kdebug_sadb_type(uint8_t type)
|
|||
#undef SADB_NAME
|
||||
}
|
||||
|
||||
const char*
|
||||
static const char*
|
||||
kdebug_sadb_exttype(uint16_t type)
|
||||
{
|
||||
#define EXT_NAME(n) case SADB_EXT_ ## n: return (#n)
|
||||
|
|
|
|||
Loading…
Reference in a new issue