From: Adrian Bunk <bunk@stusta.de>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] make drivers/char/mxser_new.c:mxser_hangup() static
Date: Mon, 18 Dec 2006 04:46:28 +0100 [thread overview]
Message-ID: <20061218034628.GZ10316@stusta.de> (raw)
This patch makes the needlessly global mxser_hangup() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.20-rc1-mm1/drivers/char/mxser_new.c.old 2006-12-18 03:07:01.000000000 +0100
+++ linux-2.6.20-rc1-mm1/drivers/char/mxser_new.c 2006-12-18 03:07:12.000000000 +0100
@@ -2066,7 +2066,7 @@
/*
* This routine is called by tty_hangup() when a hangup is signaled.
*/
-void mxser_hangup(struct tty_struct *tty)
+static void mxser_hangup(struct tty_struct *tty)
{
struct mxser_port *info = tty->driver_data;
reply other threads:[~2006-12-18 3:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061218034628.GZ10316@stusta.de \
--to=bunk@stusta.de \
--cc=jirislaby@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox