chiark / gitweb /
util: remove union dirent_storage
[elogind.git] / src / shared / util.h
index 3e0a6d5c1cd15a19f1af7ec8d69de649940f5b61..488ce3ba6dc27181449e2e3efa8bc556820276b2 100644 (file)
 #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"