summaryrefslogtreecommitdiff
path: root/udev_lib.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-09-15 22:36:31 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:01 -0700
commitcdc60e8afb06a0688e4b9f166625d4d0b8805e68 (patch)
tree16fbc84eae9b43fe64e95ce25ca7cff423d09ba4 /udev_lib.h
parent0345b8623581497f49184ffd1d8143fe20f71893 (diff)
[PATCH] switch udev's seqnum to u64
The kernel will use a u64 for the sequence number, so we want the same.
Diffstat (limited to 'udev_lib.h')
-rw-r--r--udev_lib.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/udev_lib.h b/udev_lib.h
index 53ad92d505..18ce25ccc7 100644
--- a/udev_lib.h
+++ b/udev_lib.h
@@ -59,12 +59,6 @@ do { \
snprintf((to) + strlen(to), maxsize - strlen(to)-1, "%u", i); \
} while (0)
-#define strlongcat(to, i) \
-do { \
- to[sizeof(to)-1] = '\0'; \
- snprintf((to) + strlen(to), sizeof(to) - strlen(to)-1, "%li", i); \
-} while (0)
-
#define foreach_strpart(str, separator, pos, len) \
for(pos = str, len = 0; \
(pos) < ((str) + strlen(str)); \