summaryrefslogtreecommitdiffstats
path: root/cpudetect.h
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-20 11:16:47 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-20 11:16:47 +0000
commita46e600619929beaf8dc27655b743eeb32683149 (patch)
treef32f418f6a16e986479c1afaf98e14614341b634 /cpudetect.h
parent746b9acfb6f970f687c5a2c422540f122572389b (diff)
downloadmpv-a46e600619929beaf8dc27655b743eeb32683149.tar.bz2
mpv-a46e600619929beaf8dc27655b743eeb32683149.tar.xz
returns a malloc()'ed string instead of an auto char[]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.h')
-rw-r--r--cpudetect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpudetect.h b/cpudetect.h
index 318ef11e10..868e6720c5 100644
--- a/cpudetect.h
+++ b/cpudetect.h
@@ -18,6 +18,8 @@ typedef struct cpucaps_s {
extern CpuCaps gCpuCaps;
void GetCpuCaps(CpuCaps *caps);
+
+/* returned value is malloc()'ed so free() it after use */
char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]);
#endif /* ARCH_X86 */