Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 1996 00:53:02 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        peter@freefall.freebsd.org
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/sys errno.h
Message-ID:  <199608190753.AAA13225@baloon.mimi.com>
In-Reply-To: <199608181616.JAA00413@freefall.freebsd.org> (message from Peter Wemm on Sun, 18 Aug 1996 09:16:19 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help

 *   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 <md4.h> doesn't have the #include
<sys/cdefs.h> and __BEGIN_DECLS/__END_DECLS either.

Satoshi



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