]> err.no Git - linux-2.6/commitdiff
loss_interval: unexport dccp_li_hist_interval_new
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 May 2007 21:21:53 +0000 (18:21 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:15:21 +0000 (22:15 -0700)
Now its only used inside the loss_interval code.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
net/dccp/ccids/lib/loss_interval.c
net/dccp/ccids/lib/loss_interval.h

index ee59fde6653f5b90857ae0fe8992008228f91db5..8ac68c60a1f1e1de253b26dfaf3770014177c979 100644 (file)
@@ -120,8 +120,9 @@ u32 dccp_li_hist_calc_i_mean(struct list_head *list)
 
 EXPORT_SYMBOL_GPL(dccp_li_hist_calc_i_mean);
 
-int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
-   struct list_head *list, const u64 seq_loss, const u8 win_loss)
+static int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
+                                    struct list_head *list,
+                                    const u64 seq_loss, const u8 win_loss)
 {
        struct dccp_li_hist_entry *entry;
        int i;
@@ -142,8 +143,6 @@ int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
        return 1;
 }
 
-EXPORT_SYMBOL_GPL(dccp_li_hist_interval_new);
-
 /* calculate first loss interval
  *
  * returns estimated loss interval in usecs */
index 17f173a3005504c0818d86913d401e1c883c2d08..653328d04ef00b369e0011f506e9553ce06e6b0a 100644 (file)
@@ -52,9 +52,6 @@ extern void dccp_li_hist_purge(struct dccp_li_hist *hist,
 
 extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
 
-extern int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
-   struct list_head *list, const u64 seq_loss, const u8 win_loss);
-
 extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist,
                              struct list_head *li_hist_list,
                              struct list_head *hist_list,