Skip site navigation (1)Skip section navigation (2)
Date:      22 Jun 2000 03:21:22 +0200
From:      Assar Westerlund <assar@sics.se>
To:        current@FreeBSD.ORG
Cc:        kris@FreeBSD.ORG
Subject:   sys/sys/signalvar.h: change cursig to `static inline'
Message-ID:  <5lr99qse7h.fsf@assaris.sics.se>

next in thread | raw e-mail | index | archive | help
I would like to commit the patch below to -current and 4-stable in a
little while.  It allows KLDs to be compiled without optimization.

Any objections/comments/anything?

/assar

Index: signalvar.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/signalvar.h,v
retrieving revision 1.36
diff -u -w -r1.36 signalvar.h
--- signalvar.h	2000/03/28 18:06:49	1.36
+++ signalvar.h	2000/06/22 01:18:38
@@ -210,7 +210,6 @@
 void	sigexit __P((struct proc *p, int signum));
 void	siginit __P((struct proc *p));
 void	trapsignal __P((struct proc *p, int sig, u_long code));
-int	__cursig __P((struct proc *p));
 
 /*
  * Machine-dependent functions:
@@ -229,7 +228,7 @@
  *
  * MP SAFE
  */
-extern __inline int __cursig(struct proc *p)
+static __inline int __cursig(struct proc *p)
 {
 	sigset_t tmpset;
 	int r;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lr99qse7h.fsf>