Add prepareSkipTo() method to EliasFanoReader
[folly.git] / folly / MallctlHelper.h
index 5c66c476642508789bdae71b58aa62bccf335629..f883a5f6a9a8a204ff8789a6d3e6bf34a8845a01 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ namespace folly {
 
 namespace detail {
 
-void handleMallctlError(const char* cmd, int err);
+[[noreturn]] void handleMallctlError(const char* cmd, int err);
 
 template <typename T>
 void mallctlHelper(const char* cmd, T* out, T* in) {
@@ -42,7 +42,7 @@ void mallctlHelper(const char* cmd, T* out, T* in) {
   }
 }
 
-} // detail
+} // namespace detail
 
 template <typename T>
 void mallctlRead(const char* cmd, T* out) {
@@ -64,4 +64,4 @@ inline void mallctlCall(const char* cmd) {
   mallctlRead<unsigned>(cmd, nullptr);
 }
 
-} // folly
+} // namespace folly