Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 15:31:56 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "Christian E. Hopps" <chopps@merit.edu>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   namespace pollution (if_list)
Message-ID:  <200003282031.PAA83082@khavrinen.lcs.mit.edu>
In-Reply-To: <20000328151907.K8280@merit.edu>
References:  <20000328151907.K8280@merit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 28 Mar 2000 15:19:07 -0500, "Christian E. Hopps" <chopps@merit.edu> said:

> Are people failing to realize that this now prohibits use of
> `if_list' and `if_addrlist' in user programs??

If you include <net/if_var.h>, and expect to use if_ANYTHING in your
programs, you have made a serious error -- just as you cannot include
<ctype.h> and then expect to define a macro called isfoo().

-GAWollman



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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