[Mplayer-cvslog] CVS: main cputable.h,1.1,1.2
pl
pl at mplayer.dev.hu
Sat Oct 20 13:15:14 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main cputable.h,NONE,1.1 cpudetect.h,1.3,1.4 cpudetect.c,1.7,1.8
- Next message: [Mplayer-cvslog] CVS: main cpudetect.c,1.8,1.9 cpudetect.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv28490
Modified Files:
cputable.h
Log Message:
array was not correctly initialized
use of char* since it avoids wasting memory
(4+stringsize bytes instead of 128)
Index: cputable.h
===================================================================
RCS file: /cvsroot/mplayer/main/cputable.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cputable.h 20 Oct 2001 02:35:31 -0000 1.1
+++ cputable.h 20 Oct 2001 11:14:57 -0000 1.2
@@ -10,7 +10,7 @@
#define N_UNKNOWN ""
#define N_UNKNOWNEXT ""
-#define M_UNKNOWN { \
+#define F_UNKNOWN { \
N_UNKNOWN, \
N_UNKNOWN, \
N_UNKNOWN, \
@@ -29,30 +29,10 @@
N_UNKNOWN \
}
-#define F_UNKNOWN { \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN \
-}
-
-static const char cpuname
+static const char *cpuname
/* Vendor */ [MAX_VENDORS]
/* Family */ [16]
/* Model */ [16]
- /* Name */ [128]
={
/* Intel Corporation, "GenuineIntel" */ {
/* 0 */ F_UNKNOWN,
@@ -476,7 +456,6 @@
#undef N_UNKNOWNEXT
#undef N_UNKNOWN
-#undef M_UNKNOWN
#undef F_UNKNOWN
static const struct {
- Previous message: [Mplayer-cvslog] CVS: main cputable.h,NONE,1.1 cpudetect.h,1.3,1.4 cpudetect.c,1.7,1.8
- Next message: [Mplayer-cvslog] CVS: main cpudetect.c,1.8,1.9 cpudetect.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list