From owner-cvs-sys Mon Aug 19 01:42:02 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA27914 for cvs-sys-outgoing; Mon, 19 Aug 1996 01:42:02 -0700 (PDT) Received: from dfw-ix7.ix.netcom.com (dfw-ix7.ix.netcom.com [206.214.98.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA27900; Mon, 19 Aug 1996 01:41:54 -0700 (PDT) Received: from baloon.mimi.com (sjx-ca56-36.ix.netcom.com [205.186.122.100]) by dfw-ix7.ix.netcom.com (8.6.13/8.6.12) with ESMTP id BAA23277; Mon, 19 Aug 1996 01:41:19 -0700 Received: (from asami@localhost) by baloon.mimi.com (8.7.5/8.6.12) id AAA13225; Mon, 19 Aug 1996 00:53:02 -0700 (PDT) Date: Mon, 19 Aug 1996 00:53:02 -0700 (PDT) Message-Id: <199608190753.AAA13225@baloon.mimi.com> To: peter@freefall.freebsd.org CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-reply-to: <199608181616.JAA00413@freefall.freebsd.org> (message from Peter Wemm on Sun, 18 Aug 1996 09:16:19 -0700 (PDT)) Subject: Re: cvs commit: src/sys/sys errno.h From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * Modified: sys/sys errno.h * Log: * make the declaration of the __error() function C++ safe. Otherwise, * the linker comes up with undefined variables because of the #define errno * when using _THREAD_SAFE. Should we go do the same thing to all the include files? One of the undergrads here ran into a problem when he tried to use MD4 functions from a C++ program, because doesn't have the #include and __BEGIN_DECLS/__END_DECLS either. Satoshi