From c11ff67e793ea2ba851d7bad5ab3fbbc937e48b3 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 3 Apr 2018 19:02:19 +0200 Subject: [PATCH] Please sonar: use typedefs s_xbt_log_*_t. --- include/xbt/log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/xbt/log.h b/include/xbt/log.h index 34bc142022..b518d99544 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -221,13 +221,13 @@ XBT_PUBLIC void xbt_log_control_set(const char* cs); /* Forward declarations */ typedef struct xbt_log_appender_s s_xbt_log_appender_t; -typedef struct xbt_log_appender_s* xbt_log_appender_t; +typedef s_xbt_log_appender_t* xbt_log_appender_t; typedef struct xbt_log_layout_s s_xbt_log_layout_t; -typedef struct xbt_log_layout_s* xbt_log_layout_t; +typedef s_xbt_log_layout_t* xbt_log_layout_t; typedef struct xbt_log_event_s s_xbt_log_event_t; -typedef struct xbt_log_event_s* xbt_log_event_t; +typedef s_xbt_log_event_t* xbt_log_event_t; typedef struct xbt_log_category_s s_xbt_log_category_t; -typedef struct xbt_log_category_s* xbt_log_category_t; +typedef s_xbt_log_category_t* xbt_log_category_t; /* Do NOT access any members of this structure directly. FIXME: move to private? */ -- 2.20.1