summaryrefslogtreecommitdiff
path: root/graphics/urt/patches/patch-ae
blob: 0fab53de349259a0519c4f850b993d5c9afc7415 (plain)
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
$NetBSD: patch-ae,v 1.3 1999/11/22 11:11:33 agc Exp $

--- include/rle_config.tlr	Mon Nov 22 11:01:35 1999
+++ include/rle_config.tlr	Mon Nov 22 11:01:48 1999
@@ -48,7 +48,7 @@
 #endif /* NO_DECLARE_MALLOC */
 
 #ifdef USE_PROTOTYPES
-extern char *getenv( CONST_DECL char *name );
+extern char *getenv( CONST_DECL char *CONST_DECL name);
 #else
 extern char *getenv();
 #endif
@@ -58,15 +58,15 @@
 #ifdef USE_STRING_H
     /* SYS V string routines. */
 #   include <string.h>
-#   define index strchr
-#   define rindex strrchr
+#   define rle_index strchr
+#   define rle_rindex strrchr
 #else
     /* BSD string routines. */
 #   include <strings.h>
 /* Really, should define USE_STRING_H if __STDC__, but be safe. */
 #ifdef __STDC__
-#   define index strchr
-#   define rindex strrchr
+#   define rle_index strchr
+#   define rle_rindex strrchr
 #endif /* __STDC__ */
 #endif /* USE_STRING_H */