Changed indentation everywhere

This commit is contained in:
o9000
2017-04-13 14:07:23 +02:00
parent c1e5a7b172
commit affac4cfa6
68 changed files with 23280 additions and 22941 deletions

View File

@@ -21,31 +21,31 @@
#define UEVENT_H
enum uevent_action {
UEVENT_UNKNOWN = 0x01,
UEVENT_ADD = 0x02,
UEVENT_REMOVE = 0x04,
UEVENT_CHANGE = 0x08,
UEVENT_UNKNOWN = 0x01,
UEVENT_ADD = 0x02,
UEVENT_REMOVE = 0x04,
UEVENT_CHANGE = 0x08,
};
struct uevent_parameter {
char *key;
char *val;
char *key;
char *val;
};
struct uevent {
char *path;
enum uevent_action action;
int sequence;
char *subsystem;
GList *params;
char *path;
enum uevent_action action;
int sequence;
char *subsystem;
GList *params;
};
struct uevent_notify {
int action; /* bitfield */
char *subsystem; /* NULL => any */
void *userdata;
int action; /* bitfield */
char *subsystem; /* NULL => any */
void *userdata;
void (*cb)(struct uevent *e, void *userdata);
void (*cb)(struct uevent *e, void *userdata);
};
#if ENABLE_UEVENT
@@ -58,7 +58,7 @@ void uevent_unregister_notifier(struct uevent_notify *nb);
#else
static inline int uevent_init()
{
return -1;
return -1;
}
static inline void uevent_cleanup()