]> The Tcpdump Group git mirrors - tcpdump/commit
Squelch a warning on some platforms.
authorGuy Harris <[email protected]>
Fri, 31 Aug 2018 06:42:53 +0000 (23:42 -0700)
committerGuy Harris <[email protected]>
Fri, 31 Aug 2018 06:42:53 +0000 (23:42 -0700)
commit086b0ee14b1cc093e16f6268cb3a1c5be97f82c4
tree139152211fc063fe5375b7d683d9cd61bae3362a
parentd7f8d9597744f1e660a88ffc9363c3adea0ce457
Squelch a warning on some platforms.

Some platforms define the old V7 routine index() (renamed to strchr() in
System V; the latter name is what's used in ANSI C), and you get
"declaration of 'index' shadows a global declaration" warnings.

Call the variable if_index instead.
print-sll.c