···6868to be `static'.6969-------------------------------------------------------------------------------7070*/7171-#define INLINE extern __inline__7171+#define INLINE static inline727273737474/* For use as a GCC soft-float library we need some special function names. */
+4-4
arch/arm/nwfpe/fpa11.inl
···2222#include "fpa11.h"23232424/* Read and write floating point status register */2525-extern __inline__ unsigned int readFPSR(void)2525+static inline unsigned int readFPSR(void)2626{2727 FPA11 *fpa11 = GET_FPA11();2828 return (fpa11->fpsr);2929}30303131-extern __inline__ void writeFPSR(FPSR reg)3131+static inline void writeFPSR(FPSR reg)3232{3333 FPA11 *fpa11 = GET_FPA11();3434 /* the sysid byte in the status register is readonly */···3636}37373838/* Read and write floating point control register */3939-extern __inline__ FPCR readFPCR(void)3939+static inline FPCR readFPCR(void)4040{4141 FPA11 *fpa11 = GET_FPA11();4242 /* clear SB, AB and DA bits before returning FPCR */4343 return (fpa11->fpcr & ~MASK_RFC);4444}45454646-extern __inline__ void writeFPCR(FPCR reg)4646+static inline void writeFPCR(FPCR reg)4747{4848 FPA11 *fpa11 = GET_FPA11();4949 fpa11->fpcr &= ~MASK_WFC; /* clear SB, AB and DA bits */
+3-3
include/asm-arm/arch-ixp23xx/platform.h
···14141515#ifndef __ASSEMBLY__16161717-extern inline unsigned long ixp2000_reg_read(volatile void *reg)1717+static inline unsigned long ixp2000_reg_read(volatile void *reg)1818{1919 return *((volatile unsigned long *)reg);2020}21212222-extern inline void ixp2000_reg_write(volatile void *reg, unsigned long val)2222+static inline void ixp2000_reg_write(volatile void *reg, unsigned long val)2323{2424 *((volatile unsigned long *)reg) = val;2525}26262727-extern inline void ixp2000_reg_wrb(volatile void *reg, unsigned long val)2727+static inline void ixp2000_reg_wrb(volatile void *reg, unsigned long val)2828{2929 *((volatile unsigned long *)reg) = val;3030}