From 6b4c9fed835bf26ff9969a5be3b8779e51416a7b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 13 Mar 2008 15:06:14 +0100 Subject: [PATCH] Remove useless ; after DO_SLIST macro --- awesome-menu.c | 2 +- client.h | 2 +- common/draw.h | 2 +- config.h | 4 ++-- focus.h | 2 +- layout.h | 2 +- rules.h | 2 +- statusbar.h | 2 +- tag.h | 4 ++-- widget.h | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/awesome-menu.c b/awesome-menu.c index faa81464..9cbaeff6 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -69,7 +69,7 @@ item_delete(item_t **item) p_delete(item); } -DO_SLIST(item_t, item, item_delete); +DO_SLIST(item_t, item, item_delete) /** awesome-run global configuration structure */ typedef struct diff --git a/client.h b/client.h index f0928619..f07fd5b5 100644 --- a/client.h +++ b/client.h @@ -55,7 +55,7 @@ Uicb uicb_client_togglefloating; Uicb uicb_client_togglescratch; Uicb uicb_client_setscratch; -DO_SLIST(Client, client, p_delete); +DO_SLIST(Client, client, p_delete) #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/common/draw.h b/common/draw.h index cb88e53e..df66a7b5 100644 --- a/common/draw.h +++ b/common/draw.h @@ -49,7 +49,7 @@ struct Area Area *prev, *next; }; -DO_SLIST(Area, area, p_delete); +DO_SLIST(Area, area, p_delete) #define AREA_LEFT(a) ((a).x) #define AREA_TOP(a) ((a).y) diff --git a/config.h b/config.h index 10262cbc..63fe924f 100644 --- a/config.h +++ b/config.h @@ -24,8 +24,8 @@ #include "structs.h" -DO_SLIST(Key, key, p_delete); -DO_SLIST(Button, button, p_delete); +DO_SLIST(Key, key, p_delete) +DO_SLIST(Button, button, p_delete) void config_parse(const char *); diff --git a/focus.h b/focus.h index 91e558f4..4e99d849 100644 --- a/focus.h +++ b/focus.h @@ -31,7 +31,7 @@ Client * focus_get_current_client(int); Uicb uicb_focus_history; Uicb uicb_focus_client_byname; -DO_SLIST(client_node_t, client_node, p_delete); +DO_SLIST(client_node_t, client_node, p_delete) #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/layout.h b/layout.h index 593900cc..4697f666 100644 --- a/layout.h +++ b/layout.h @@ -38,7 +38,7 @@ struct Layout Layout *prev, *next; }; -DO_SLIST(Layout, layout, p_delete); +DO_SLIST(Layout, layout, p_delete) int layout_refresh(void); Layout * layout_get_current(int); diff --git a/rules.h b/rules.h index 3640d98f..4ee3b1ea 100644 --- a/rules.h +++ b/rules.h @@ -31,7 +31,7 @@ Bool tag_match_rule(Tag *, Rule *); Fuzzy rules_get_fuzzy_from_str(const char *); Rule * rule_matching_client(Client *); -DO_SLIST(Rule, rule, p_delete); +DO_SLIST(Rule, rule, p_delete) #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/statusbar.h b/statusbar.h index 68ed6d02..b0841c9d 100644 --- a/statusbar.h +++ b/statusbar.h @@ -32,7 +32,7 @@ Position statusbar_get_position_from_str(const char *); Uicb uicb_statusbar_toggle; -DO_SLIST(Statusbar, statusbar, p_delete); +DO_SLIST(Statusbar, statusbar, p_delete) #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/tag.h b/tag.h index 14774796..516a1959 100644 --- a/tag.h +++ b/tag.h @@ -48,8 +48,8 @@ Uicb uicb_tag_viewnext; Uicb uicb_tag_viewprev; Uicb uicb_tag_create; -DO_SLIST(Tag, tag, p_delete); -DO_SLIST(tag_client_node_t, tag_client_node, p_delete); +DO_SLIST(Tag, tag, p_delete) +DO_SLIST(tag_client_node_t, tag_client_node, p_delete) #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/widget.h b/widget.h index 15f8b261..974952fc 100644 --- a/widget.h +++ b/widget.h @@ -50,7 +50,7 @@ WidgetConstructor tasklist_new; Uicb uicb_widget_tell; -DO_SLIST(Widget, widget, p_delete); +DO_SLIST(Widget, widget, p_delete) #endif