From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix "extern inline"
Date: Wed, 10 Nov 2004 13:55:23 +0900 [thread overview]
Message-ID: <m2y8hapakk.wl%ysato@users.sourceforge.jp> (raw)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
===== include/linux/bitops.h 1.6 vs edited =====
--- 1.6/include/linux/bitops.h 2004-05-03 05:04:34 +09:00
+++ edited/include/linux/bitops.h 2004-11-08 15:36:48 +09:00
@@ -42,7 +42,7 @@
* fls: find last bit set.
*/
-extern __inline__ int generic_fls(int x)
+static __inline__ int generic_fls(int x)
{
int r = 32;
@@ -71,7 +71,7 @@
return r;
}
-extern __inline__ int get_bitmask_order(unsigned int count)
+static __inline__ int get_bitmask_order(unsigned int count)
{
int order;
--
Yoshinori Sato
<ysato@users.sourceforge.jp>
next reply other threads:[~2004-11-10 4:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 4:55 Yoshinori Sato [this message]
2004-12-01 1:33 ` "extern inline" purge? was: Re: [PATCH] fix "extern inline" Andrew Grover
2004-12-01 8:43 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y8hapakk.wl%ysato@users.sourceforge.jp \
--to=ysato@users.sourceforge.jp \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).