This adds declarations for sif6up, sif6down and setifstate in order
to eliminate warnings about implicit function declarations.
Signed-off-by: Paul Mackerras <paulus@samba.org>
/* Reset i/f IP addresses */
#ifdef INET6
int ether_to_eui64(eui64_t *p_eui64); /* convert eth0 hw address to EUI64 */
+int sif6up __P((int)); /* Configure i/f up for IPv6 */
+int sif6down __P((int)); /* Configure i/f down for IPv6 */
int sif6addr __P((int, eui64_t, eui64_t));
/* Configure IPv6 addresses for i/f */
int cif6addr __P((int, eui64_t, eui64_t));
static int set_kdebugflag(int level);
static int ppp_registered(void);
static int make_ppp_unit(void);
+static int setifstate (int u, int state);
extern u_char inpacket_buf[]; /* borrowed from main.c */
* setifstate - Config the interface up or down
*/
-int setifstate (int u, int state)
+static int setifstate (int u, int state)
{
struct ifreq ifr;