File: fix-implicit-func.patch

package info (click to toggle)
glide 2002.04.10ds1-25
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 60,080 kB
  • sloc: ansic: 290,125; asm: 23,305; sh: 8,090; pascal: 3,854; makefile: 1,258; perl: 72
file content (45 lines) | stat: -rw-r--r-- 1,288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Fix implicit function declarations
 Add required headers or declare the functions.
Forwarded: no

---
 glide3x/h3/minihwc/linhwc.c.dri                             |    1 
 glide3x/h5/glide3/src/glide.h                               |    5 
 glide3x/h5/minihwc/linhwc.c                                 |    1 
 tmp/werror/glide-2002.04.10ds1/glide3x/h5/glide3/src/gsst.c | 3949 ------------
 4 files changed, 7 insertions(+), 3949 deletions(-)

--- a/glide3x/h5/minihwc/linhwc.c
+++ b/glide3x/h5/minihwc/linhwc.c
@@ -61,6 +61,7 @@ hwcCheckMemSize(hwcBoardInfo *bInfo, FxU
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
+#include "fxcmd.h"
 #include "lindri.h"
 
 static FxU32 fenceVar;
--- a/glide3x/h3/minihwc/linhwc.c.dri
+++ b/glide3x/h3/minihwc/linhwc.c.dri
@@ -61,6 +61,7 @@ hwcCheckMemSize(hwcBoardInfo *bInfo, FxU
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
+#include "fxcmd.h"
 #include "lindri.h"
 
 static FxU32 fenceVar;
--- a/glide3x/h5/glide3/src/glide.h
+++ b/glide3x/h5/glide3/src/glide.h
@@ -593,6 +593,11 @@ grBufferSwap( FxU32 swap_interval );
 FX_ENTRY void FX_CALL
 grRenderBuffer( GrBuffer_t buffer );
 
+#ifdef __linux__
+FX_ENTRY void FX_CALL
+grDRIBufferSwap( FxU32 swapInterval );
+#endif
+
 /*
 ** error management
 */