SingletonVault_c.cpp is always C++
[folly.git] / folly / SingletonVault_c.cpp
index 5417915764e6486c29f924e32d68380efc733f21..a11c93c83bec6ee2d341a7a65e984bc35906f122 100644 (file)
@@ -17,9 +17,7 @@
 #include <folly/SingletonVault_c.h>
 #include <folly/Singleton.h>
 
-#ifdef __cplusplus
 extern "C" {
-#endif
 
 SingletonVault_t *SingletonVault_singleton() {
   return folly::SingletonVault::singleton();
@@ -37,6 +35,4 @@ void SingletonVault_reenableInstances(SingletonVault_t *vault) {
   ((folly::SingletonVault*) vault)->reenableInstances();
 }
 
-#ifdef __cplusplus
 } // extern "C"
-#endif