Skip to content

Commit 5567dd1

Browse files
fixes #127 @0.2
1 parent ada3d2f commit 5567dd1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
2.3.0
2+
- Remove extern "C" (#127)
23
- Remove commented out code (#126)
34
- make logger::logger rule zero compliant (#123)
45
- write more logger::sink tests (#124)

include/logger/cpp-logger.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace logger {
1717

1818
/** @return the library's current version
1919
*/
20-
extern "C" const char *cpp_logger_version();
20+
const char *cpp_logger_version();
2121

2222
/** @} */
2323
}

src/cpp-logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace logger {
1515

16-
extern "C" const char *cpp_logger_version(){
16+
const char *cpp_logger_version(){
1717

1818
#ifndef CPP_LOGGER_VERSION
1919
return "missing CPP_LOGGER_VERSION define. Re-run configure" ;

0 commit comments

Comments
 (0)