Fix coding style

This commit is contained in:
Johan Malm 2022-11-03 19:58:21 +00:00 committed by Consolatis
parent 6a242d5739
commit e45e2c7e60
16 changed files with 28 additions and 22 deletions

View file

@ -7,9 +7,11 @@ struct server;
struct wl_list;
struct action {
struct wl_list link; /* struct keybinding.actions,
* struct mousebinding.actions,
* struct menuitem.actions */
struct wl_list link; /*
* struct keybinding.actions
* struct mousebinding.actions
* struct menuitem.actions
*/
uint32_t type; /* enum action_type */
struct wl_list args; /* struct action_arg.link */

View file

@ -49,7 +49,7 @@ char *xstrdup(const char *str);
* Does nothing if <ptr> is already NULL.
*/
#define zfree(ptr) do { \
free(ptr); (ptr) = NULL; \
free(ptr); (ptr) = NULL; \
} while (0)
#endif /* __LABWC_MEM_H */

View file

@ -9,8 +9,10 @@ struct wl_list;
/* Double use: as config in config/rcxml.c and as instance in workspaces.c */
struct workspace {
struct wl_list link; /* struct server.workspaces
struct rcxml.workspace_config.workspaces */
struct wl_list link; /*
* struct server.workspaces
* struct rcxml.workspace_config.workspaces
*/
struct server *server;
char *name;