summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-28 20:25:37 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-28 20:25:37 +0200
commitf1ff8d7b4ad1f95385d42c3fa1b2a997b9e6d5f5 (patch)
treedeac91a1c92268619f97bfee5dd4dcc7973a34e5 /udev_utils.h
parent764ce7f2ab526c084f005186e0dcbabe59070247 (diff)
use WRITE_END/READ_END for the pipe index
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev_utils.h b/udev_utils.h
index ad415641d8..9ff79113b1 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -26,6 +26,10 @@
#define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b))
+/* pipes */
+#define READ_END 0
+#define WRITE_END 1
+
struct name_entry {
struct list_head node;
char name[PATH_SIZE];