[MPlayer-cvslog] CVS: main bswap.h,1.7,1.8

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Fri May 5 13:13:10 CEST 2006


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv6819

Modified Files:
	bswap.h 
Log Message:
fix the warning generated (in gcc4) by the 'inline' keyword position.
patch by Pierre Lombard


Index: bswap.h
===================================================================
RCS file: /cvsroot/mplayer/main/bswap.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- bswap.h	22 Feb 2006 10:30:55 -0000	1.7
+++ bswap.h	5 May 2006 11:13:08 -0000	1.8
@@ -117,21 +117,21 @@
 
 #endif	/* !HAVE_BYTESWAP_H */
 
-static float inline bswap_flt(float x) {
+static inline float bswap_flt(float x) {
   union {uint32_t i; float f;} u;
   u.f = x;
   u.i = bswap_32(u.i);
   return u.f;
 }
 
-static double inline bswap_dbl(double x) {
+static inline double bswap_dbl(double x) {
   union {uint64_t i; double d;} u;
   u.d = x;
   u.i = bswap_64(u.i);
   return u.d;
 }
 
-static long double inline bswap_ldbl(long double x) {
+static inline long double bswap_ldbl(long double x) {
   union {char d[10]; long double ld;} uin;
   union {char d[10]; long double ld;} uout;
   uin.ld = x;




More information about the MPlayer-cvslog mailing list