From: David Lamparter Date: Sun, 14 Feb 2021 00:35:47 +0000 (+0100) Subject: lib: get rid of padding in struct cmd_element X-Git-Tag: base_8.0~307^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5e085e529da67deac8171f5a34274f5af7d94492;p=mirror%2Ffrr.git lib: get rid of padding in struct cmd_element This makes the Python code looking at xrefs much easier. Signed-off-by: David Lamparter --- diff --git a/lib/command_graph.h b/lib/command_graph.h index 09824460e6..86715410ce 100644 --- a/lib/command_graph.h +++ b/lib/command_graph.h @@ -99,7 +99,7 @@ struct cmd_element { const char *string; /* Command specification by string. */ const char *doc; /* Documentation of this command. */ int daemon; /* Daemon to which this command belong. */ - uint8_t attr; /* Command attributes */ + uint32_t attr; /* Command attributes */ /* handler function for command */ int (*func)(const struct cmd_element *, struct vty *, int,