mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
style(posix): drop void argument list in syslog shim
modernize-redundant-void-arg flagged closelog(void) in the C++-only shim. Drop the explicit (void) parameter list to match the rest of the shim and silence the warning. Signed-off-by: Nuno Marques <n.marques21@hotmail.com>
This commit is contained in:
@@ -100,7 +100,7 @@ static inline void openlog(const char *ident, int option, int facility)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Close the syslog sink; no-op for the stderr-backed shim. */
|
/** @brief Close the syslog sink; no-op for the stderr-backed shim. */
|
||||||
static inline void closelog(void) {}
|
static inline void closelog() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the active syslog priority mask.
|
* @brief Set the active syslog priority mask.
|
||||||
|
|||||||
Reference in New Issue
Block a user