Searched hist:b30c6ac9f9222ee574d54075e73581f8d141033f (Results 1 – 2 of 2) sorted by relevance
/freebsd/lib/libcasper/services/cap_syslog/ |
H A D | cap_syslog.h | diff b30c6ac9f9222ee574d54075e73581f8d141033f Tue Apr 07 18:40:41 CEST 2020 Conrad Meyer <cem@FreeBSD.org> libcasper(3): Export functions to C++
We must wrap C declarations in __BEGIN / __END_DECLS to avoid C++ name-mangling of the declaration when including the C header; name-mangling causes the linker to attempt to locate the wrong (C++ ABI) symbol name.
Reviewed by: markj, oshogbo (earlier version both) Differential Revision: https://reviews.freebsd.org/D24323
|
/freebsd/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.h | diff b30c6ac9f9222ee574d54075e73581f8d141033f Tue Apr 07 18:40:41 CEST 2020 Conrad Meyer <cem@FreeBSD.org> libcasper(3): Export functions to C++
We must wrap C declarations in __BEGIN / __END_DECLS to avoid C++ name-mangling of the declaration when including the C header; name-mangling causes the linker to attempt to locate the wrong (C++ ABI) symbol name.
Reviewed by: markj, oshogbo (earlier version both) Differential Revision: https://reviews.freebsd.org/D24323
|