Skip to content

Commit

Permalink
stun: clang-format for coherent indentation and coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed May 18, 2023
1 parent 352a1f5 commit 4e3fb16
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 394 deletions.
12 changes: 5 additions & 7 deletions src/modules/stun/config.c
Expand Up @@ -29,15 +29,13 @@
#include "config.h"

struct cfg_group_stun default_stun_cfg = {
0, /* Read only variable to mark if stun is enabled */
};
0, /* Read only variable to mark if stun is enabled */
};

void *stun_cfg = &default_stun_cfg;

cfg_def_t stun_cfg_def[] = {
{ "stun_enabled", CFG_VAR_INT | CFG_ATOMIC | CFG_READONLY,
0, 0, 0, 0,
"If set to one (true) STUN is enabled." },
{"stun_enabled", CFG_VAR_INT | CFG_ATOMIC | CFG_READONLY, 0, 0, 0, 0,
"If set to one (true) STUN is enabled."},

{0, 0, 0, 0, 0, 0}
};
{0, 0, 0, 0, 0, 0}};
3 changes: 2 additions & 1 deletion src/modules/stun/config.h
Expand Up @@ -31,7 +31,8 @@

#include "../../core/cfg/cfg.h"

struct cfg_group_stun {
struct cfg_group_stun
{
int stun_active;
};

Expand Down

0 comments on commit 4e3fb16

Please sign in to comment.