From: Ivan Maidanski Date: Wed, 7 Feb 2018 22:46:14 +0000 (+0300) Subject: Make uniform the comment for the end of extern 'C' block X-Git-Tag: v8.0.0~368 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40dd4e085bebcf9858a8ff0c56fd0e316f64a91a;p=platform%2Fupstream%2Flibgc.git Make uniform the comment for the end of extern 'C' block (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. --- diff --git a/include/gc_backptr.h b/include/gc_backptr.h index 257be61..5fd9195 100644 --- a/include/gc_backptr.h +++ b/include/gc_backptr.h @@ -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 */ diff --git a/include/gc_gcj.h b/include/gc_gcj.h index eba714c..476db22 100644 --- a/include/gc_gcj.h +++ b/include/gc_gcj.h @@ -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 */ diff --git a/include/gc_mark.h b/include/gc_mark.h index c30da2c..25037cf 100644 --- a/include/gc_mark.h +++ b/include/gc_mark.h @@ -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 */ diff --git a/include/gc_typed.h b/include/gc_typed.h index 8b1e92f..1ddc3f8 100644 --- a/include/gc_typed.h +++ b/include/gc_typed.h @@ -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 */ diff --git a/include/javaxfc.h b/include/javaxfc.h index 2a77ea6..27da68b 100644 --- a/include/javaxfc.h +++ b/include/javaxfc.h @@ -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