Date: Wed, 20 Jan 1999 17:30:51 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: freebsd-hackers@FreeBSD.ORG Subject: AF_MAX duplicately defined Message-ID: <199901210130.RAA26927@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
Anyone know why AF_MAX is defined in both sys/socket.h AND sys/mount.h?
In sys/mount.h:
#include <net/radix.h>
#define AF_MAX 32 /* XXX */
[ ... ]
/*
* Network export information
*/
struct netexport {
struct netcred ne_defexported; /* Default export */
struct radix_node_head *ne_rtable[AF_MAX+1]; /* Individual exports */
};
Yuck.
Why can't mount.h just include socket.h (or the includer of mount.h just
include socket.h)?
Thanks,
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901210130.RAA26927>
