Staticize a couple of functions.
No functional change intended. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b0bffd128c
commit
3d7dd2d69a
@ -97,6 +97,8 @@ static int do_dump;
|
||||
static const char *dumpfilename = RTSOL_DUMPFILE;
|
||||
#endif
|
||||
|
||||
static char **autoifprobe(void);
|
||||
static int ifconfig(char *ifname);
|
||||
static int make_packet(struct ifinfo *);
|
||||
static struct timespec *rtsol_check_timer(void);
|
||||
|
||||
@ -325,7 +327,7 @@ main(int argc, char **argv)
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
ifconfig(char *ifname)
|
||||
{
|
||||
struct ifinfo *ifi;
|
||||
@ -775,7 +777,7 @@ warnmsg(int priority, const char *func, const char *msg, ...)
|
||||
/*
|
||||
* return a list of interfaces which is suitable to sending an RS.
|
||||
*/
|
||||
char **
|
||||
static char **
|
||||
autoifprobe(void)
|
||||
{
|
||||
static char **argv = NULL;
|
||||
|
@ -157,14 +157,12 @@ extern int Fflag;
|
||||
extern int uflag;
|
||||
extern const char *otherconf_script;
|
||||
extern const char *resolvconf_script;
|
||||
extern int ifconfig(char *);
|
||||
extern void iflist_init(void);
|
||||
struct ifinfo *find_ifinfo(int);
|
||||
struct rainfo *find_rainfo(struct ifinfo *, struct sockaddr_in6 *);
|
||||
void rtsol_timer_update(struct ifinfo *);
|
||||
extern void warnmsg(int, const char *, const char *, ...)
|
||||
__attribute__((__format__(__printf__, 3, 4)));
|
||||
extern char **autoifprobe(void);
|
||||
extern int ra_opt_handler(struct ifinfo *);
|
||||
|
||||
/* if.c */
|
||||
|
Loading…
Reference in New Issue
Block a user