diff cpudetect.c @ 31826:f3aed7bffcbb

Reuse do_cpuid from cpudetect.c in loader/win32.c. Also avoids several "used uninitialized" warnings.
author reimar
date Mon, 02 Aug 2010 17:39:20 +0000
parents 544f29a58a6b
children fdf3f93c2828
line wrap: on
line diff
--- a/cpudetect.c	Mon Aug 02 17:36:16 2010 +0000
+++ b/cpudetect.c	Mon Aug 02 17:39:20 2010 +0000
@@ -89,7 +89,7 @@
 #endif
 }
 
-static void
+void
 do_cpuid(unsigned int ax, unsigned int *p)
 {
 // code from libavcodec: