Drop redundant void parameters from function declarations
[folly.git] / folly / detail / ThreadLocalDetail.h
index a88bfbb1d36a9e8f14b5db9455be3d029093a0d1..363196b0fe86d2b029fb9d7d6ebfc3945f88419c 100644 (file)
@@ -379,13 +379,15 @@ struct StaticMeta : StaticMetaBase {
 #endif
   }
 
-  static void preFork(void) {
+  static void preFork() {
     instance().lock_.lock();  // Make sure it's created
   }
 
-  static void onForkParent(void) { instance().lock_.unlock(); }
+  static void onForkParent() {
+    instance().lock_.unlock();
+  }
 
-  static void onForkChild(void) {
+  static void onForkChild() {
     // only the current thread survives
     instance().head_.next = instance().head_.prev = &instance().head_;
     ThreadEntry* threadEntry = getThreadEntry();