Make uniform the comment for the end of extern 'C' block
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Feb 2018 22:46:14 +0000 (01:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 7 Feb 2018 22:46:14 +0000 (01:46 +0300)
(code refactoring)

* include/gc_backptr.h [__cplusplus]: Adjust (make uniform) comment
for the end of extern "C" block.
* include/gc_gcj.h [__cplusplus]: Likewise.
* include/gc_mark.h [__cplusplus]: Likewise.
* include/gc_typed.h [__cplusplus]: Likewise.
* include/javaxfc.h [__cplusplus]: Likewise.

include/gc_backptr.h
include/gc_gcj.h
include/gc_mark.h
include/gc_typed.h
include/javaxfc.h

index 257be61..5fd9195 100644 (file)
@@ -90,7 +90,7 @@ GC_API void GC_CALL GC_generate_random_backtrace(void);
 GC_API void GC_CALL GC_print_backtrace(void *) GC_ATTR_NONNULL(1);
 
 #ifdef __cplusplus
-  } /* end of extern "C" */
+  } /* extern "C" */
 #endif
 
 #endif /* GC_BACKPTR_H */
index eba714c..476db22 100644 (file)
@@ -104,7 +104,7 @@ GC_API int GC_gcj_debug_kind;
 #endif
 
 #ifdef __cplusplus
-  } /* end of extern "C" */
+  } /* extern "C" */
 #endif
 
 #endif /* GC_GCJ_H */
index c30da2c..25037cf 100644 (file)
@@ -311,7 +311,7 @@ GC_API void GC_CALL GC_print_trace(GC_word /* gc_no */);
 GC_API void GC_CALL GC_print_trace_inner(GC_word /* gc_no */);
 
 #ifdef __cplusplus
-  } /* end of extern "C" */
+  } /* extern "C" */
 #endif
 
 #endif /* GC_MARK_H */
index 8b1e92f..1ddc3f8 100644 (file)
@@ -115,7 +115,7 @@ GC_API GC_ATTR_MALLOC GC_ATTR_CALLOC_SIZE(1, 2) void * GC_CALL
 #endif
 
 #ifdef __cplusplus
-  } /* matches extern "C" */
+  } /* extern "C" */
 #endif
 
 #endif /* GC_TYPED_H */
index 2a77ea6..27da68b 100644 (file)
@@ -56,5 +56,5 @@ GC_API void GC_CALL GC_finalize_all(void);
 #endif /* GC_THREADS */
 
 #ifdef __cplusplus
-  } /* end of extern "C" */
+  } /* extern "C" */
 #endif