1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

util: remove union dirent_storage

This commit is contained in:
Florian Weimer 2013-12-19 12:44:10 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent bde1fdd773
commit 4ff4ebb1fb
2 changed files with 0 additions and 7 deletions

1
TODO
View File

@ -48,7 +48,6 @@ Features:
- ensure scope units may be started only a single time
* code cleanup
- get rid of readdir_r/dirent_storage stuff, it's unnecessary on Linux
- we probably should replace the left-over uses of strv_append() and replace them by strv_push() or strv_extend()
* switch to SipHash for hashmaps/sets?

View File

@ -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"