aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/glapi/glapitemp.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapitemp.py b/src/mesa/glapi/glapitemp.py
index 58b622a11ab..422a86a7984 100644
--- a/src/mesa/glapi/glapitemp.py
+++ b/src/mesa/glapi/glapitemp.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# $Id: glapitemp.py,v 1.1 2001/11/18 22:42:57 brianp Exp $
+# $Id: glapitemp.py,v 1.2 2001/12/14 03:17:00 brianp Exp $
# Mesa 3-D graphics library
# Version: 4.1
@@ -87,7 +87,9 @@ def PrintHead():
#error RETURN_DISPATCH must be defined
#endif
+extern void gl__unused413(void); /* silence warning */
"""
+
#enddef
@@ -140,8 +142,8 @@ def MakePrintfString(funcName, argTypeList, argNameList):
i = i + 1
#endfor
- result = result + ');"'
-
+ result = result + ');\\n"'
+
n = len(argNameList)
i = 1
if n > 0: