mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
Mark global functions and/or variables in rip6query(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
parent
4da4d0013d
commit
d1931b8065
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227258
|
@ -56,9 +56,9 @@
|
|||
|
||||
#include "route6d.h"
|
||||
|
||||
int s;
|
||||
struct sockaddr_in6 sin6;
|
||||
struct rip6 *ripbuf;
|
||||
static int s;
|
||||
static struct sockaddr_in6 sin6;
|
||||
static struct rip6 *ripbuf;
|
||||
|
||||
#define RIPSIZE(n) (sizeof(struct rip6) + (n-1) * sizeof(struct netinfo6))
|
||||
|
||||
|
|
Loading…
Reference in a new issue