mirror of
https://github.com/labwc/labwc.git
synced 2026-07-09 00:06:05 -04:00
Fix coding style, mostly whitespace
This commit is contained in:
parent
f8e1d76333
commit
606b6d946e
6 changed files with 16 additions and 14 deletions
|
|
@ -25,6 +25,6 @@ struct libinput_category {
|
|||
};
|
||||
|
||||
enum device_type get_device_type(const char *s);
|
||||
struct libinput_category *libinput_category_create();
|
||||
struct libinput_category *libinput_category_create(void);
|
||||
|
||||
#endif /* __LABWC_LIBINPUT_H */
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ get_device_type(const char *s)
|
|||
}
|
||||
|
||||
struct libinput_category *
|
||||
libinput_category_create()
|
||||
libinput_category_create(void)
|
||||
{
|
||||
struct libinput_category *l = calloc(1, sizeof(struct libinput_category));
|
||||
if (!l) {
|
||||
|
|
|
|||
|
|
@ -341,8 +341,10 @@ static void xml_tree_walk(xmlNode *node);
|
|||
static void
|
||||
traverse(xmlNode *n)
|
||||
{
|
||||
xmlAttr *attr;
|
||||
|
||||
process_node(n);
|
||||
for (xmlAttr *attr = n->properties; attr; attr = attr->next) {
|
||||
for (attr = n->properties; attr; attr = attr->next) {
|
||||
xml_tree_walk(attr->children);
|
||||
}
|
||||
xml_tree_walk(n->children);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue