summaryrefslogtreecommitdiff
path: root/src/shared/udev-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-14 16:45:12 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-16 02:22:58 +0900
commitc8eaaf69aca23bc5d6d04336016fd70328485275 (patch)
treed3a9fb0008bdf69dfcf393a1cf59c251fffd308f /src/shared/udev-util.h
parent1223227f952a1939a592760ae437e417ba24bb01 (diff)
downloadsystemd-c8eaaf69aca23bc5d6d04336016fd70328485275.tar.gz
udev: rename UTIL_LINE_SIZE -> UDEV_LINE_SIZE and friends
This also moves them to udev-util.h
Diffstat (limited to 'src/shared/udev-util.h')
-rw-r--r--src/shared/udev-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index 94ec970c50..61ce4eaac9 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -6,6 +6,10 @@
#include "device-private.h"
#include "time-util.h"
+#define UDEV_NAME_SIZE 512
+#define UDEV_PATH_SIZE 1024
+#define UDEV_LINE_SIZE 16384
+
typedef enum ResolveNameTiming {
RESOLVE_NAME_NEVER,
RESOLVE_NAME_LATE,