From owner-freebsd-hackers Wed Jan 20 18:00:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19842 for freebsd-hackers-outgoing; Wed, 20 Jan 1999 18:00:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19831 for ; Wed, 20 Jan 1999 18:00:13 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA10868 for ; Wed, 20 Jan 1999 17:30:57 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma010865; Wed, 20 Jan 99 17:30:51 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id RAA26927 for freebsd-hackers@freebsd.org; Wed, 20 Jan 1999 17:30:51 -0800 (PST) From: Archie Cobbs Message-Id: <199901210130.RAA26927@bubba.whistle.com> Subject: AF_MAX duplicately defined To: freebsd-hackers@FreeBSD.ORG Date: Wed, 20 Jan 1999 17:30:51 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anyone know why AF_MAX is defined in both sys/socket.h AND sys/mount.h? In sys/mount.h: #include #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