summary refs log tree commit diff stats
path: root/cache-utils.c
diff options
context:
space:
mode:
authorJohn Spencer <maillist-qemu@barfooze.de>2012-12-10 07:59:46 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2012-12-18 17:22:31 +0100
commitc56dc774242f902e51e2343f4472e742ef2b7838 (patch)
treed14cff7271623cf7e00bf4f307cb19c9289b16e3 /cache-utils.c
parente12cdb1b4055530c61fe99683d256c42e9e62ac8 (diff)
downloadfocaccia-qemu-c56dc774242f902e51e2343f4472e742ef2b7838.tar.gz
focaccia-qemu-c56dc774242f902e51e2343f4472e742ef2b7838.zip
linux-user/syscall.c: remove wrong forward decl of setgroups()
this declaration is wrong:
the correct prototype on linux is:
int setgroups(size_t size, const gid_t *list);

since by default musl libc exposes this symbol in unistd.h
additionally to grp.h, the wrong declaration causes a build error.

the proper fix is to simply include the correct header.

Signed-off-by: John Spencer <maillist-qemu@barfooze.de>

Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cache-utils.c')
0 files changed, 0 insertions, 0 deletions