From ef8d767e6f715f2efbb1945346b39d720f5fdf96 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 5 Oct 2025 16:46:37 +0000 Subject: [PATCH] cleanup: Fix comment formatting errors. Cimple is now stricter in these. --- toxav/rtp.h | 6 +++--- toxcore/friend_connection.h | 3 ++- toxcore/tox_options.h | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/toxav/rtp.h b/toxav/rtp.h index aba31b541..9dd623aea 100644 --- a/toxav/rtp.h +++ b/toxav/rtp.h @@ -78,9 +78,9 @@ struct RTPHeader { uint64_t flags; /** - * The full 32 bit data offset of the current data chunk. The @ref - * offset_lower data member contains the lower 16 bits of this value. For - * frames smaller than 64KiB, @ref offset_full and @ref offset_lower are + * The full 32 bit data offset of the current data chunk. The + * @ref offset_lower data member contains the lower 16 bits of this value. + * For frames smaller than 64KiB, @ref offset_full and @ref offset_lower are * equal. */ uint32_t offset_full; diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h index e4b6baa69..8ab02ee2a 100644 --- a/toxcore/friend_connection.h +++ b/toxcore/friend_connection.h @@ -55,7 +55,8 @@ typedef struct Friend_Connections Friend_Connections; Net_Crypto *_Nonnull friendconn_net_crypto(const Friend_Connections *_Nonnull fr_c); -/** @return friendcon_id corresponding to the real public key on success. +/** + * @return friendcon_id corresponding to the real public key on success. * @retval -1 on failure. */ int getfriend_conn_id_pk(const Friend_Connections *_Nonnull fr_c, const uint8_t *_Nonnull real_pk); diff --git a/toxcore/tox_options.h b/toxcore/tox_options.h index 7d8b7aafa..f90e186f3 100644 --- a/toxcore/tox_options.h +++ b/toxcore/tox_options.h @@ -239,12 +239,13 @@ struct Tox_Options { */ void *log_user_data; - /** + /* * These options are experimental, so avoid writing code that depends on * them. Options marked "experimental" may change their behaviour or go away * entirely in the future, or may be renamed to something non-experimental * if they become part of the supported API. */ + /** * Make public API functions thread-safe using a per-instance lock. *