patch-2.4.21 linux-2.4.21/include/asm-cris/byteorder.h

Next file: linux-2.4.21/include/asm-cris/checksum.h
Previous file: linux-2.4.21/include/asm-cris/bitops.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-cris/byteorder.h linux-2.4.21/include/asm-cris/byteorder.h
@@ -1,4 +1,4 @@
-/* $Id: byteorder.h,v 1.1 2000/07/10 16:32:31 bjornw Exp $ */
+/* $Id: byteorder.h,v 1.2 2002/11/20 18:20:17 hp Exp $ */
 
 #ifndef _CRIS_BYTEORDER_H
 #define _CRIS_BYTEORDER_H
@@ -12,14 +12,14 @@
  * them together into ntohl etc.
  */
 
-static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
+extern __inline__ __const__ __u32 ___arch__swab32(__u32 x)
 {
 	__asm__ ("swapwb %0" : "=r" (x) : "0" (x));
   
 	return(x);
 }
 
-static __inline__ __const__ __u16 ___arch__swab16(__u16 x)
+extern __inline__ __const__ __u16 ___arch__swab16(__u16 x)
 {
 	__asm__ ("swapb %0" : "=r" (x) : "0" (x));
 	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)