A thin wrapper to allow creating new functions.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
static int
-virPCIDeviceConfigOpen(virPCIDevicePtr dev, bool fatal)
+virPCIDeviceConfigOpenInternal(virPCIDevicePtr dev, bool fatal)
{
int fd;
return fd;
}
+static int
+virPCIDeviceConfigOpen(virPCIDevicePtr dev, bool fatal)
+{
+ return virPCIDeviceConfigOpenInternal(dev, fatal);
+}
+
static void
virPCIDeviceConfigClose(virPCIDevicePtr dev, int cfgfd)
{