shithub: rgbds

Download patch

ref: 5281704f62bf8bb8bea0f455f2f5630c7d489648
parent: d81d128a049bac6e19dca597d7b5d8f551d81e39
author: Anthony J. Bentley <[email protected]>
date: Tue Feb 24 11:01:53 EST 2015

These internal headers don’t need C++ boilerplate.

--- a/include/extern/err.h
+++ b/include/extern/err.h
@@ -41,10 +41,6 @@
 #define errx rgbds_errx
 #define verrx rgbds_verrx
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 void warn(const char *, ...);
 void vwarn(const char *, va_list);
 void warnx(const char *, ...);
@@ -54,10 +50,6 @@
 noreturn void verr(int, const char *, va_list);
 noreturn void errx(int, const char *, ...);
 noreturn void verrx(int, const char *, va_list);
-
-#ifdef __cplusplus
-}
-#endif
 
 #endif