diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 14:58:05 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 14:58:05 +0100 |
commit | 7760171904ef007f19e8f46aa240a00e382d5b74 (patch) | |
tree | 217d98308a3039e106efde5fd6a7b6a657916950 /src/basic/util.h | |
parent | 4fee397531c97d22e41fb3f02452e82d412fe2b5 (diff) |
util-lib: move inotify-related definitions to fs-util.[ch]
Diffstat (limited to 'src/basic/util.h')
-rw-r--r-- | src/basic/util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/basic/util.h b/src/basic/util.h index 2c2cb36190..a8fba372d1 100644 --- a/src/basic/util.h +++ b/src/basic/util.h @@ -181,16 +181,4 @@ uint64_t physical_memory(void); int update_reboot_param_file(const char *param); -#define INOTIFY_EVENT_MAX (sizeof(struct inotify_event) + NAME_MAX + 1) - -#define FOREACH_INOTIFY_EVENT(e, buffer, sz) \ - for ((e) = &buffer.ev; \ - (uint8_t*) (e) < (uint8_t*) (buffer.raw) + (sz); \ - (e) = (struct inotify_event*) ((uint8_t*) (e) + sizeof(struct inotify_event) + (e)->len)) - -union inotify_event_buffer { - struct inotify_event ev; - uint8_t raw[INOTIFY_EVENT_MAX]; -}; - int version(void); |