From 1d594772fd15143ad602ac90f5bb2f58f8b06f1a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 8 Aug 2010 23:49:49 +0200 Subject: llist: hide Curl_llist_init Curl_llist_init is never used outside of llist.c and thus it should be static. I also removed the protos for Curl_llist_insert_prev and Curl_llist_remove_next which are functions we removed from llist.c ages ago. --- lib/llist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/llist.c') diff --git a/lib/llist.c b/lib/llist.c index a121c603d..081b3ed89 100644 --- a/lib/llist.c +++ b/lib/llist.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -31,8 +31,8 @@ /* this must be the last include file */ #include "memdebug.h" -void -Curl_llist_init(struct curl_llist *l, curl_llist_dtor dtor) +static void +llist_init(struct curl_llist *l, curl_llist_dtor dtor) { l->size = 0; l->dtor = dtor; @@ -49,7 +49,7 @@ Curl_llist_alloc(curl_llist_dtor dtor) if(NULL == list) return NULL; - Curl_llist_init(list, dtor); + llist_init(list, dtor); return list; } -- cgit v1.2.3