summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2013-12-19 12:44:10 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-21 18:35:55 -0500
commit4ff4ebb1fbb7296f67b89b66d2d7f720b49b51c5 (patch)
tree13c892e1eeb721473c538899c54908f7b996e147 /src/shared/util.h
parentbde1fdd773c5bc036370922e67ff3550a1f5cded (diff)
util: remove union dirent_storage
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 3e0a6d5c1c..488ce3ba6d 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -44,12 +44,6 @@
#include "macro.h"
#include "time-util.h"
-union dirent_storage {
- struct dirent de;
- uint8_t storage[offsetof(struct dirent, d_name) +
- ((NAME_MAX + 1 + sizeof(long)) & ~(sizeof(long) - 1))];
-};
-
/* What is interpreted as whitespace? */
#define WHITESPACE " \t\n\r"
#define NEWLINE "\n\r"