From: Arnaud Giersch Date: Tue, 3 Apr 2018 17:02:19 +0000 (+0200) Subject: Please sonar: use typedefs s_xbt_log_*_t. X-Git-Tag: v3.20~531 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c11ff67e793ea2ba851d7bad5ab3fbbc937e48b3 Please sonar: use typedefs s_xbt_log_*_t. --- 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? */