aboutsummaryrefslogtreecommitdiffstats
path: root/internal/compar.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/compar.h')
-rw-r--r--internal/compar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/compar.h b/internal/compar.h
index aba1cdf25e..888a3b5e1e 100644
--- a/internal/compar.h
+++ b/internal/compar.h
@@ -1,4 +1,6 @@
-/** \noop-*-C-*-vi:ft=c
+#ifndef INTERNAL_COMPAR_H /*-*-C-*-vi:se ft=c:*/
+#define INTERNAL_COMPAR_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -7,8 +9,6 @@
* file COPYING are met. Consult the file for details.
* @brief Internal header for Comparable.
*/
-#ifndef INTERNAL_COMPAR_H
-#define INTERNAL_COMPAR_H
#include "internal/vm.h" /* for rb_method_basic_definition_p */
#define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)