diff cpudetect.h @ 2303:456e22bfb147

returns a malloc()'ed string instead of an auto char[]
author pl
date Sat, 20 Oct 2001 11:16:47 +0000
parents b4c4c832cce7
children 3164eaa93396
line wrap: on
line diff
--- a/cpudetect.h	Sat Oct 20 11:14:57 2001 +0000
+++ b/cpudetect.h	Sat Oct 20 11:16:47 2001 +0000
@@ -18,6 +18,8 @@
 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 */