]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: trivial fix error: implicit declaration of function 'malloc'
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 22 Nov 2012 12:28:08 +0000 (13:28 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 22 Nov 2012 13:49:06 +0000 (06:49 -0700)
commit89ad205f3211185c22629ac7abd73ca7f4353c91
treed180bfe07fe8e2266ef8e736577c54e84509ab5d
parenta61583366412cf0254332fc8e3b678d9a3494d7c
build: trivial fix error: implicit declaration of function 'malloc'

Fixes this error when building with -Werror on Alpine Linux:

util/processinfo.c: In function 'virProcessInfoSetAffinity':
util/processinfo.c:52:5: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration]

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
src/util/processinfo.c