Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 1996 19:48:40 +1100 (EST)
From:      I call god <profroot@iq.org>
To:        current@freebsd.org
Subject:   in_ifaddr' undeclared (first use this function)
Message-ID:  <199612140848.TAA08317@profane.iq.org>

next in thread | raw e-mail | index | archive | help

root@profane:/sys/compile/SUB# make
cc -c -O -pipe -m486 -pipe -malign-functions=2 -malign-loops=2 -malign-jumps=2 -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include -DSPX_HACK -DEXT2FS -DPSM_NO_RESET -DFDSEEKWAIT=16 -DSC_KBD_PROBE_WORKS -DTUNE_1542 -DSAFETY -DNSWAPDEV=20 -DDEVFS -DMFS -DCD9660 -DNFS -DFFS -DIPDIVERT -DINET -DCOMPAT_43 -DI586_OPTIMIZED_BZERO -DI586_OPTIMIZED_BCOPY -DI586_FAST_BCOPY -DFAILSAFE -DKERNEL  ../../netinet/if_ether.c
../../netinet/if_ether.c: In function `in_arpinput':
../../netinet/if_ether.c:453: `in_ifaddr' undeclared (first use this function)
../../netinet/if_ether.c:453: (Each undeclared identifier is reported only once
../../netinet/if_ether.c:453: for each function it appears in.)

Looking at the code, this looks like a semantic typo. in_ifaddr is the struct, but
it is being used as a variable name

-Julian A.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612140848.TAA08317>