Formatting: Apply to C headers

This commit is contained in:
Roger A. Light
2025-09-17 12:48:02 +01:00
parent 7ea73f6d60
commit 460995652e
29 changed files with 252 additions and 242 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ extern "C" {
#include "ctrl_shell.h"
#include "mosquitto_ctrl.h"
struct ctrl_shell{
struct ctrl_shell {
char **subscription_list;
int subscription_list_count;
int run;
@@ -59,7 +59,7 @@ struct ctrl_shell{
int transport;
};
struct ctrl_shell__module{
struct ctrl_shell__module {
struct completion_tree_root *completion_commands;
const char *request_topic;
const char *response_topic;
+1 -1
View File
@@ -74,7 +74,7 @@ struct mosq_ctrl {
char *request_topic;
char *response_topic;
char *payload;
void (*payload_callback)(struct mosq_ctrl *, long , const void *);
void (*payload_callback)(struct mosq_ctrl *, long, const void *);
void *userdata;
};
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MOSQUITTO_SIGNAL_H
#define MOSQUITTO_SIGNAL_H
enum mosq_signal{
enum mosq_signal {
MSIG_CONFIG_RELOAD,
MSIG_LOG_ROTATE,
MSIG_SHUTDOWN,