changeset 25620:53e5107ea80d

Fix illegal identifiers, names starting with __ are reserved for the system.
author diego
date Tue, 08 Jan 2008 00:37:41 +0000
parents 20f549053410
children a09381e1a325
files stream/url.c vidix/sis_regs.h
diffstat 2 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/stream/url.c	Mon Jan 07 23:43:10 2008 +0000
+++ b/stream/url.c	Tue Jan 08 00:37:41 2008 +0000
@@ -367,7 +367,7 @@
 	if(unesc) free(unesc);
 }
 
-#ifdef __URL_DEBUG
+#ifdef URL_DEBUG
 void
 url_debug(const URL_t *url) {
 	if( url==NULL ) {
@@ -394,4 +394,4 @@
 		printf("password=%s\n", url->password );
 	}
 }
-#endif //__URL_DEBUG
+#endif /* URL_DEBUG */
--- a/vidix/sis_regs.h	Mon Jan 07 23:43:10 2008 +0000
+++ b/vidix/sis_regs.h	Tue Jan 08 00:37:41 2008 +0000
@@ -27,12 +27,12 @@
 #define inSISREG(base)          INPORT8(base)
 #define outSISREG(base,val)     OUTPORT8(base, val)
 #define orSISREG(base,val)      do { \
-                      unsigned char __Temp = INPORT8(base); \
-                      outSISREG(base, __Temp | (val)); \
+                      unsigned char tmp = INPORT8(base); \
+                      outSISREG(base, tmp | (val)); \
                     } while (0)
 #define andSISREG(base,val)     do { \
-                      unsigned char __Temp = INPORT8(base); \
-                      outSISREG(base, __Temp & (val)); \
+                      unsigned char tmp = INPORT8(base); \
+                      outSISREG(base, tmp & (val)); \
                     } while (0)
 
 #define inSISIDXREG(base,idx,var)   do { \
@@ -42,22 +42,22 @@
                       OUTPORT8(base, idx); OUTPORT8((base)+1, val); \
                     } while (0)
 #define orSISIDXREG(base,idx,val)   do { \
-                      unsigned char __Temp; \
+                      unsigned char tmp; \
                       OUTPORT8(base, idx);   \
-                      __Temp = INPORT8((base)+1)|(val); \
-                      outSISIDXREG(base,idx,__Temp); \
+                      tmp = INPORT8((base)+1)|(val); \
+                      outSISIDXREG(base,idx,tmp); \
                     } while (0)
 #define andSISIDXREG(base,idx,and)  do { \
-                      unsigned char __Temp; \
+                      unsigned char tmp; \
                       OUTPORT8(base, idx);   \
-                      __Temp = INPORT8((base)+1)&(and); \
-                      outSISIDXREG(base,idx,__Temp); \
+                      tmp = INPORT8((base)+1)&(and); \
+                      outSISIDXREG(base,idx,tmp); \
                     } while (0)
 #define setSISIDXREG(base,idx,and,or)   do { \
-                      unsigned char __Temp; \
+                      unsigned char tmp; \
                       OUTPORT8(base, idx);   \
-                      __Temp = (INPORT8((base)+1)&(and))|(or); \
-                      outSISIDXREG(base,idx,__Temp); \
+                      tmp = (INPORT8((base)+1)&(and))|(or); \
+                      outSISIDXREG(base,idx,tmp); \
                     } while (0)
 
 #define BITMASK(h,l)    (((unsigned)(1U << ((h)-(l)+1))-1)<<(l))