patch-2.4.25 linux-2.4.25/include/asm-m68k/delay.h

Next file: linux-2.4.25/include/asm-m68k/dvma.h
Previous file: linux-2.4.25/include/asm-m68k/bitops.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-m68k/delay.h linux-2.4.25/include/asm-m68k/delay.h
@@ -9,7 +9,7 @@
  * Delay routines, using a pre-computed "loops_per_jiffy" value.
  */
 
-extern __inline__ void __delay(unsigned long loops)
+static inline void __delay(unsigned long loops)
 {
 	__asm__ __volatile__ ("1: subql #1,%0; jcc 1b"
 		: "=d" (loops) : "0" (loops));
@@ -53,7 +53,8 @@
 	((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5)) : \
 	__ndelay(n))
 
-extern __inline__ unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c)
+static inline unsigned long muldiv(unsigned long a, unsigned long b,
+				   unsigned long c)
 {
 	unsigned long tmp;
 

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