[systemd-devel] systemd 191 does not compile on 32 bit Linux
Henrik /KaarPoSoft
henrik at kaarposoft.dk
Sat Sep 22 06:24:45 PDT 2012
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
More information about the systemd-devel
mailing list