util: move socket_init() to osdep.c
commitd3bf825e59125bc6a0accec0dca119ea0155cb82
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 25 Feb 2013 22:31:11 +0000 (25 23:31 +0100)
committerAlon Levy <alevy@redhat.com>
Wed, 24 Apr 2013 08:47:37 +0000 (24 11:47 +0300)
tree4a104664d41c423d4bd5c697b84af46cc33da71a
parente2d9c5e769d59f2bca649b8286892d49bdcfc2b1
util: move socket_init() to osdep.c

vscclient needs to call socket_init() for portability.
Moving to osdep.c since it has no internal dependency.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
util/osdep.c
util/qemu-sockets.c