Add __{BEGIN,END}_DECLS macros, so that function prototypes remain

unmangled for C++ programs.

Submitted by:	Niklas Sorensson <nik@cs.chalmers.se>
This commit is contained in:
Jason Evans 2006-06-30 20:57:41 +00:00
parent 00d8242c2b
commit 78a6842d2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160056

View File

@ -31,7 +31,11 @@
#ifndef _MALLOC_NP_H_
#define _MALLOC_NP_H_
#include <sys/cdefs.h>
#include <sys/types.h>
__BEGIN_DECLS
size_t malloc_usable_size(const void *ptr);
__END_DECLS
#endif /* _MALLOC_NP_H_ */