]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix gcc-4.3.0 "inlining failed" warning.
authorMark McLoughlin <markmc@redhat.com>
Fri, 8 Feb 2008 09:15:16 +0000 (09:15 +0000)
committerMark McLoughlin <markmc@redhat.com>
Fri, 8 Feb 2008 09:15:16 +0000 (09:15 +0000)
commit3da5504e68731dc00f2977c7a63bb8f7edb445af
tree34f66ba5c3b83cf008996b20969c06cb5552a5d2
parentdb4037e592c0b93c0348ae6e5278e4e03a8a3e7b
Fix gcc-4.3.0 "inlining failed" warning.

* src/internal.h: move xstrol() variants from here ...

* src/util.[ch]: ... to here and rename to virStrToLong()

* src/libvirt_sym.version: export __virStrToLong_i() for
virsh and qemud.

* src/nodeinfo.c, src/stats_linux.c, src/virsh.c,
  src/xend_internal.c, qemud/qemud.c: replace xstrtol()
calls with virStrToLong()

* src/nodeinfo.h: don't include internal.h, which was only
needed for xstrtol(), but instead include libvirt.h which
is suffificient for the declarations in the header.
ChangeLog
qemud/qemud.c
src/internal.h
src/libvirt_sym.version
src/nodeinfo.c
src/nodeinfo.h
src/stats_linux.c
src/util.c
src/util.h
src/virsh.c
src/xend_internal.c