commit f6b36a2be1ac77f2b60119fb92ae7d7aa0466ebb
parent 8b899e0e9cd498bf38213bf17963286d4cf79a30
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 27 Feb 2011 10:54:22 +0100
Removing spurious spaces and tabs.
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arg.h b/arg.h
@@ -1,7 +1,7 @@
#ifndef ARG_H
#define ARG_H
-#define USED(x) ((void)(x))
+#define USED(x) ((void)(x))
extern char *argv0;
diff --git a/nlmon.c b/nlmon.c
@@ -47,7 +47,7 @@ printproperties(struct udev_device *dev)
props = udev_device_get_properties_list_entry(dev);
udev_list_entry_foreach(prop, props) {
printf("%s=%s\n", udev_list_entry_get_name(prop), \
- udev_list_entry_get_value(prop));
+ udev_list_entry_get_value(prop));
}
fflush(stdout);
}
@@ -60,7 +60,7 @@ printtags(struct udev_device *dev)
tags = udev_device_get_tags_list_entry(dev);
udev_list_entry_foreach(tag, tags) {
printf("%s=%s\n", udev_list_entry_get_name(tag), \
- udev_list_entry_get_value(tag));
+ udev_list_entry_get_value(tag));
}
fflush(stdout);
}
@@ -73,7 +73,7 @@ printdevlinks(struct udev_device *dev)
devlinks = udev_device_get_devlinks_list_entry(dev);
udev_list_entry_foreach(devlink, devlinks) {
printf("%s=%s\n", udev_list_entry_get_name(devlink), \
- udev_list_entry_get_value(devlink));
+ udev_list_entry_get_value(devlink));
}
fflush(stdout);
}
@@ -136,12 +136,12 @@ main(int argc, char *argv[])
udev_monitor_filter_add_match_subsystem_devtype(mon, \
filter, NULL);
udev_monitor_enable_receiving(mon);
-
+
fds[0].fd = udev_monitor_get_fd(mon);
fds[0].events = POLLIN|POLLPRI;
for(;;) {
- ret = poll(fds, 1, 500);
+ ret = poll(fds, 1, 500);
if (ret > 0) {
if ((fds[0].revents & POLLIN) \
|| (fds[0].revents & POLLPRI)) {