summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enums.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-11-27 03:14:57 +0000
committerBrian Paul <[email protected]>2004-11-27 03:14:57 +0000
commit568f7578d3789f58d52394d9d42a818b85d9a196 (patch)
tree6ddcbd5e0e57f91d21da444f519d8e19a4ebfac3 /src/mesa/main/enums.c
parentd2c1027d40d744e043742d5f2ef957feb1dc0edc (diff)
Removed GLCALLBACK stuff - apparently never used anywhere.
Removed GLWINAPI stuff - only used (unnecessarily?) in enums.c
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r--src/mesa/main/enums.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index 20009d66dd3..3f9d91dfe74 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.3
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -37,7 +36,10 @@ typedef struct {
int n;
} enum_elt;
-enum_elt all_enums[] =
+/**
+ * XXX We should auto-generate this with a Python script someday.
+ */
+static enum_elt all_enums[] =
{
/* Boolean values */
{ "GL_FALSE", 0 },
@@ -889,7 +891,7 @@ enum_elt all_enums[] =
#define Elements(x) sizeof(x)/sizeof(*x)
-typedef int (GLWINAPIV *cfunc)(const void *, const void *);
+typedef int (*cfunc)(const void *, const void *);
static enum_elt **index1 = 0;
static int sorted = 0;