aboutsummaryrefslogtreecommitdiff
path: root/arch_init.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-29 15:11:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-30 09:18:43 +0100
commit67d223be90178f7142b4f566358cea446af8df74 (patch)
treef8ac837c1e6ef1629810bc646256efc4dbf4da36 /arch_init.h
parentf3192e8fb28529dd4fd777f916c437f49098ad39 (diff)
downloadqemu-67d223be90178f7142b4f566358cea446af8df74.zip
qemu-67d223be90178f7142b4f566358cea446af8df74.tar.gz
qemu-67d223be90178f7142b4f566358cea446af8df74.tar.bz2
compiler: use weak aliases to provide default definitions
This is simpler and more portable. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch_init.h')
-rw-r--r--arch_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_init.h b/arch_init.h
index d9c572a..5fc780c 100644
--- a/arch_init.h
+++ b/arch_init.h
@@ -34,6 +34,6 @@ int tcg_available(void);
int kvm_available(void);
int xen_available(void);
-CpuDefinitionInfoList GCC_WEAK_DECL *arch_query_cpu_definitions(Error **errp);
+CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp);
#endif