aboutsummaryrefslogtreecommitdiffstats
path: root/internal/bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/bits.h')
-rw-r--r--internal/bits.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/bits.h b/internal/bits.h
index 410c2b9a97..32ec1cd36c 100644
--- a/internal/bits.h
+++ b/internal/bits.h
@@ -1,13 +1,11 @@
-#ifndef INTERNAL_BITS_H /* -*- C -*- */
-#define INTERNAL_BITS_H
-/**
+/** \noop-*-C-*-vi:ft=c
* @file
- * @brief Internal header for bitwise integer algorithms.
- * @author \@shyouhei
+ * @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
* Permission is hereby granted, to either redistribute and/or
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
+ * @brief Internal header for bitwise integer algorithms.
* @see Henry S. Warren Jr., "Hacker's Delight" (2nd ed.), 2013.
* @see SEI CERT C Coding Standard INT32-C. "Ensure that operations on
* signed integers do not result in overflow"
@@ -26,7 +24,9 @@
* @see https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_rotr64
* @see https://stackoverflow.com/a/776523
*/
-#include "ruby/config.h"
+#ifndef INTERNAL_BITS_H
+#define INTERNAL_BITS_H
+#include "ruby/3/config.h"
#include <limits.h> /* for CHAR_BITS */
#include <stdint.h> /* for uintptr_t */
#include "internal/compilers.h" /* for MSC_VERSION_SINCE */