]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
mingw: Add body for virFork and remove double virDriverLoadModule export
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 27 Oct 2010 09:25:23 +0000 (11:25 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 27 Oct 2010 19:27:19 +0000 (21:27 +0200)
Commit 9bd3cce0d2d54e6ab893bb8137218b83d9294714 added virFork and
virDriverLoadModule to libvirt_private.syms, but virFork didn't have
a body on Win32 and virDriverLoadModule was already correctly
exported conditional via libvirt_driver_modules.syms.

src/libvirt_private.syms
src/util/util.c

index 7ceb0167987e5435616bb00e67e0160f408291ee..cf06256ccdf98df155b34f38fe2b69299cc2bc21 100644 (file)
@@ -314,10 +314,6 @@ virDomainConfNWFilterTeardown;
 virDomainConfVMNWFilterTeardown;
 
 
-# driver.h
-virDriverLoadModule;
-
-
 # ebtables.h
 ebtablesAddForwardAllowIn;
 ebtablesAddForwardPolicyReject;
index 586baee461e8ee0cbd2e1bdca730c9aae368d9d9..2632fe701f6aec3df8917f39dabe52f6564c326f 100644 (file)
@@ -927,6 +927,15 @@ virExecDaemonize(const char *const*argv ATTRIBUTE_UNUSED,
     return -1;
 }
 
+int
+virFork(pid_t *pid)
+{
+    *pid = -1;
+    errno = ENOTSUP;
+
+    return -1;
+}
+
 # endif /* WIN32 */
 
 int