From owner-freebsd-arch Tue Jan 29 20:15:54 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail-out2.apple.com (mail-out2.apple.com [17.254.0.51]) by hub.freebsd.org (Postfix) with ESMTP id 2A17937B992 for ; Tue, 29 Jan 2002 20:15:30 -0800 (PST) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out2.apple.com (8.11.3/8.11.3) with ESMTP id g0U4FT724814 for ; Tue, 29 Jan 2002 20:15:29 -0800 (PST) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Tue, 29 Jan 2002 20:15:29 -0800 Received: from build12 (build12.apple.com [17.202.14.95]) by scv2.apple.com (8.11.3/8.11.3) with ESMTP id g0U4FTw06066 for ; Tue, 29 Jan 2002 20:15:29 -0800 (PST) Date: Tue, 29 Jan 2002 20:15:27 -0800 Mime-Version: 1.0 (Apple Message framework v502) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: __P macro question From: Dallas De Atley To: arch@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.502) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I asked a question of our resident experts here at Apple and was eventually directed to you by Jordan Hubbard. My question was: What is the __P macro used for in all those function declarations in the BSD libraries and do we still need it? It was explained that this macro is used for pre-ANSI C compilers and that while Darwin and thus Mac OS X compile with gcc 2.95, we retain it in our code so that the diffs between our code and yours is small. This enables the Darwin team to keep on top of changes between FreeBSD and Darwin. After doing a little bit of homework searching cdef.h and style.9 and encountering old jokes concerning the coming of Jesus (thank you Google), I decided to pursue the question. Is the __P macro still necessary? Are there pre ANSI C compilers FreeBSD wishes to support or is this macro effectively benign but useless? If it is still neccesary I'll move on to bothering the resident experts with other annoying questions, otherwise I'd like to pursue this issue further. Thanks, Dallas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message