aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-05-28 17:21:53 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:15:21 -0400
commit8c281780c6f867460c84bd78d9c3885c10f00ae1 (patch)
tree01e690f1fb96bb671dc2c730c2c5391a96931aa4
parentcc0a910b942d11069d35f52b2c0ed0e229e2fb46 (diff)
loss_interval: unexport dccp_li_hist_interval_new
Now its only used inside the loss_interval code. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--net/dccp/ccids/lib/loss_interval.c7
-rw-r--r--net/dccp/ccids/lib/loss_interval.h3
2 files changed, 3 insertions, 7 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.c b/net/dccp/ccids/lib/loss_interval.c
index ee59fde6653f..8ac68c60a1f1 100644
--- a/net/dccp/ccids/lib/loss_interval.c
+++ b/net/dccp/ccids/lib/loss_interval.c
@@ -120,8 +120,9 @@ u32 dccp_li_hist_calc_i_mean(struct list_head *list)
120 120
121EXPORT_SYMBOL_GPL(dccp_li_hist_calc_i_mean); 121EXPORT_SYMBOL_GPL(dccp_li_hist_calc_i_mean);
122 122
123int dccp_li_hist_interval_new(struct dccp_li_hist *hist, 123static int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
124 struct list_head *list, const u64 seq_loss, const u8 win_loss) 124 struct list_head *list,
125 const u64 seq_loss, const u8 win_loss)
125{ 126{
126 struct dccp_li_hist_entry *entry; 127 struct dccp_li_hist_entry *entry;
127 int i; 128 int i;
@@ -142,8 +143,6 @@ int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
142 return 1; 143 return 1;
143} 144}
144 145
145EXPORT_SYMBOL_GPL(dccp_li_hist_interval_new);
146
147/* calculate first loss interval 146/* calculate first loss interval
148 * 147 *
149 * returns estimated loss interval in usecs */ 148 * returns estimated loss interval in usecs */
diff --git a/net/dccp/ccids/lib/loss_interval.h b/net/dccp/ccids/lib/loss_interval.h
index 17f173a30055..653328d04ef0 100644
--- a/net/dccp/ccids/lib/loss_interval.h
+++ b/net/dccp/ccids/lib/loss_interval.h
@@ -52,9 +52,6 @@ extern void dccp_li_hist_purge(struct dccp_li_hist *hist,
52 52
53extern u32 dccp_li_hist_calc_i_mean(struct list_head *list); 53extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
54 54
55extern int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
56 struct list_head *list, const u64 seq_loss, const u8 win_loss);
57
58extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist, 55extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist,
59 struct list_head *li_hist_list, 56 struct list_head *li_hist_list,
60 struct list_head *hist_list, 57 struct list_head *hist_list,