aboutsummaryrefslogtreecommitdiffhomepage
path: root/cpuinfo.c
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2009-02-18 01:07:37 +0200
committerGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2009-02-18 01:45:36 +0200
commit186e5a998c8424b3c850b62d6f5755a0928cd64c (patch)
treecabc9881fb5ed2c6dbe5f771323a55c50136a091 /cpuinfo.c
parent41ac08d2b45f0f6eb369ea57604796be69200185 (diff)
parente5ee1232c5e00e730d69cf57767b1ee3ab5b4e16 (diff)
Merge svn changes up to r28641
Convert vo_x11_border (used in vo_gl/gl2 though the vo_gl_border macro) to use a wrapper macro in old-style VOs which do not provide a VO object argument. Before this function had an explicit global_vo argument in vo_gl/gl2. New vo_vdpau uses it too so use the same mechanism as most other functions.
Diffstat (limited to 'cpuinfo.c')
-rw-r--r--cpuinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpuinfo.c b/cpuinfo.c
index ad9a49c42e..ac49cd7cad 100644
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -77,7 +77,7 @@ rdtsc(void)
static const char*
brandname(int i)
{
- const static char* brandmap[] = {
+ static const char* brandmap[] = {
NULL,
"Intel(R) Celeron(R) processor",
"Intel(R) Pentium(R) III processor",
@@ -105,7 +105,7 @@ store32(char *d, unsigned int v)
int
-main(int argc, char **argv)
+main(void)
{
cpuid_regs_t regs, regs_ext;
char idstr[13];