All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: John Levon <levon@movementarian.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"
Date: Tue, 26 Jul 2005 16:54:57 +0200	[thread overview]
Message-ID: <20050726145457.GP3160@stusta.de> (raw)

We don't want these to be global functions.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h.old	2005-07-26 11:15:22.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h	2005-07-26 11:15:38.000000000 +0200
@@ -48,12 +48,12 @@
 
 #else
 
-struct dcookie_user * dcookie_register(void)
+static inline struct dcookie_user * dcookie_register(void)
 {
 	return NULL;
 }
 
-void dcookie_unregister(struct dcookie_user * user)
+static inline void dcookie_unregister(struct dcookie_user * user)
 {
 	return;
 }


             reply	other threads:[~2005-07-26 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26 14:54 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-31 22:26 [2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline" Adrian Bunk

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=20050726145457.GP3160@stusta.de \
    --to=bunk@stusta.de \
    --cc=levon@movementarian.org \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.