mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue