patch-2.4.8 linux/include/asm-i386/signal.h
Next file: linux/include/asm-i386/smp.h
Previous file: linux/include/asm-i386/siginfo.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Fri Aug 10 18:13:47 2001
- Orig file:
v2.4.7/linux/include/asm-i386/signal.h
- Orig date:
Tue Aug 7 12:48:42 2001
diff -u --recursive --new-file v2.4.7/linux/include/asm-i386/signal.h linux/include/asm-i386/signal.h
@@ -179,23 +179,23 @@
#define __HAVE_ARCH_SIG_BITOPS
-extern __inline__ void sigaddset(sigset_t *set, int _sig)
+static __inline__ void sigaddset(sigset_t *set, int _sig)
{
__asm__("btsl %1,%0" : "=m"(*set) : "Ir"(_sig - 1) : "cc");
}
-extern __inline__ void sigdelset(sigset_t *set, int _sig)
+static __inline__ void sigdelset(sigset_t *set, int _sig)
{
__asm__("btrl %1,%0" : "=m"(*set) : "Ir"(_sig - 1) : "cc");
}
-extern __inline__ int __const_sigismember(sigset_t *set, int _sig)
+static __inline__ int __const_sigismember(sigset_t *set, int _sig)
{
unsigned long sig = _sig - 1;
return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW));
}
-extern __inline__ int __gen_sigismember(sigset_t *set, int _sig)
+static __inline__ int __gen_sigismember(sigset_t *set, int _sig)
{
int ret;
__asm__("btl %2,%1\n\tsbbl %0,%0"
@@ -210,7 +210,7 @@
#define sigmask(sig) (1UL << ((sig) - 1))
-extern __inline__ int sigfindinword(unsigned long word)
+static __inline__ int sigfindinword(unsigned long word)
{
__asm__("bsfl %1,%0" : "=r"(word) : "rm"(word) : "cc");
return word;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)