From: Adrian Bunk <bunk@stusta.de>
To: Gerrit Renker <gerrit@erg.abdn.ac.uk>,
"David S. Miller" <davem@davemloft.net>
Cc: acme@mandriva.com, dccp@vger.kernel.org, netdev@vger.kernel.org
Subject: [2.6 patch] make dccp_write_xmit_timer() static again
Date: Sat, 24 Mar 2007 14:06:52 +0100 [thread overview]
Message-ID: <20070324130652.GJ752@stusta.de> (raw)
dccp_write_xmit_timer() needlessly became global.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
net/dccp/dccp.h | 1 -
net/dccp/timer.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.21-rc4-mm1/net/dccp/dccp.h.old 2007-03-23 23:39:37.000000000 +0100
+++ linux-2.6.21-rc4-mm1/net/dccp/dccp.h 2007-03-23 23:39:58.000000000 +0100
@@ -191,7 +191,6 @@
const enum dccp_pkt_type pkt_type);
extern void dccp_write_xmit(struct sock *sk, int block);
-extern void dccp_write_xmit_timer(unsigned long data);
extern void dccp_write_space(struct sock *sk);
extern void dccp_init_xmit_timers(struct sock *sk);
--- linux-2.6.21-rc4-mm1/net/dccp/timer.c.old 2007-03-23 23:40:07.000000000 +0100
+++ linux-2.6.21-rc4-mm1/net/dccp/timer.c 2007-03-23 23:40:14.000000000 +0100
@@ -262,7 +262,7 @@
}
/* Transmit-delay timer: used by the CCIDs to delay actual send time */
-void dccp_write_xmit_timer(unsigned long data)
+static void dccp_write_xmit_timer(unsigned long data)
{
struct sock *sk = (struct sock *)data;
struct dccp_sock *dp = dccp_sk(sk);
next reply other threads:[~2007-03-24 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-24 13:06 Adrian Bunk [this message]
2007-03-25 4:01 ` [2.6 patch] make dccp_write_xmit_timer() static again David Miller
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=20070324130652.GJ752@stusta.de \
--to=bunk@stusta.de \
--cc=acme@mandriva.com \
--cc=davem@davemloft.net \
--cc=dccp@vger.kernel.org \
--cc=gerrit@erg.abdn.ac.uk \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).