Hi!

systemd 191 does not compile on my 32 bit Linux box.

src/journal/mmap-cache.c:519:5: error: conflicting types for 'mmap_cache_get'
In file included from src/journal/mmap-cache.c:32:0:
src/journal/mmap-cache.h:34:5: note: previous declaration of 'mmap_cache_get' was here

mmap-cache.h declares:
int mmap_cache_get(MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, uint64_t size, struct stat *st, void **ret);

whereas mmap-cache.c has:
int mmap_cache_get(
                MMapCache *m,
                int fd,
                int prot,
                unsigned context,
                bool keep_always,
                uint64_t offset,
                size_t size,
                struct stat *st,
                void **ret) {

so the size parameter is inconsistently declared.

(My last build of systemd vas 187, where this did not happen. but then again there was no src/journal/mmap-cache.{c,h} back then)
/Henrik

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to