Add a SIGSEGV signal handler which detects stack overflow
[folly.git] / folly / Checksum.h
index 1168badf3d2eeb7f14aa9ef2172961381639c861..1202893389fc6dc1547faebd3ec9b4bca5d6e22c 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_CHECKSUM_H_
-#define FOLLY_CHECKSUM_H_
+#pragma once
 
 #include <stdint.h>
 #include <cstddef>
@@ -39,5 +38,3 @@ uint32_t crc32c(const uint8_t* data, size_t nbytes,
     uint32_t startingChecksum = ~0U);
 
 } // folly
-
-#endif /* FOLLY_CHECKSUM_H_ */