From: Michael Haggerty Date: Mon, 14 Jan 2013 05:32:39 GMT Subject: [PATCH 07/14] imap-send.c: inline imap_parse_list() in imap_list() Message-ID: <1358141566-26081-8-git-send-email-mhagger@alum.mit.edu> In-Reply-To: <1358141566-26081-1-git-send-email-mhagger@alum.mit.edu> The function is only called from here. Signed-off-by: Michael Haggerty --- imap-send.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/imap-send.c b/imap-send.c index fe2bfab..452e73e 100644 --- a/imap-send.c +++ b/imap-send.c @@ -669,21 +669,16 @@ bail: return -1; } -static struct imap_list *parse_imap_list(struct imap *imap, char **sp) +static struct imap_list *parse_list(char **sp) { struct imap_list *head; - if (!parse_imap_list_l(imap, sp, &head, 0)) + if (!parse_imap_list_l(NULL, sp, &head, 0)) return head; free_list(head); return NULL; } -static struct imap_list *parse_list(char **sp) -{ - return parse_imap_list(NULL, sp); -} - static void parse_capability(struct imap *imap, char *cmd) { char *arg; -- 1.8.0.3