mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
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:
parent
00d8242c2b
commit
78a6842d2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160056
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user