From owner-freebsd-current Wed Jun 21 18:21:11 2000 Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id AC60A37C100; Wed, 21 Jun 2000 18:21:06 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id DAA04607; Thu, 22 Jun 2000 03:21:22 +0200 (CEST) (envelope-from assar) To: current@FreeBSD.ORG Cc: kris@FreeBSD.ORG Subject: sys/sys/signalvar.h: change cursig to `static inline' From: Assar Westerlund Date: 22 Jun 2000 03:21:22 +0200 Message-ID: <5lr99qse7h.fsf@assaris.sics.se> Lines: 31 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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