Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9725C738F for ; Sun, 16 Oct 2011 18:06:24 +0000 (UTC) Received: (qmail 64681 invoked by uid 500); 16 Oct 2011 18:06:24 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 64635 invoked by uid 500); 16 Oct 2011 18:06:24 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 64628 invoked by uid 99); 16 Oct 2011 18:06:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2011 18:06:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2011 18:06:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3824A238889B; Sun, 16 Oct 2011 18:06:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1184892 - /httpd/mod_mbox/trunk/module-2.0/mbox_thread.c Date: Sun, 16 Oct 2011 18:06:01 -0000 To: cvs@httpd.apache.org From: danielsh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111016180601.3824A238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: danielsh Date: Sun Oct 16 18:06:00 2011 New Revision: 1184892 URL: http://svn.apache.org/viewvc?rev=1184892&view=rev Log: Mark some functions static that aren't used elsewhere. * module-2.0/mbox_thread.c (strip_subject, merge_container, delete_from_hash): Mark static. Modified: httpd/mod_mbox/trunk/module-2.0/mbox_thread.c Modified: httpd/mod_mbox/trunk/module-2.0/mbox_thread.c URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mbox_thread.c?rev=1184892&r1=1184891&r2=1184892&view=diff ============================================================================== --- httpd/mod_mbox/trunk/module-2.0/mbox_thread.c (original) +++ httpd/mod_mbox/trunk/module-2.0/mbox_thread.c Sun Oct 16 18:06:00 2011 @@ -57,7 +57,7 @@ int is_reply(Message *m) /* * Strips all of the RE: junk from the subject line. */ -char *strip_subject(apr_pool_t *p, Message *m) +static char *strip_subject(apr_pool_t *p, Message *m) { char *newVal = m->subject, *match = m->subject, *tmp = 0; @@ -198,7 +198,7 @@ void append_container(Container *l, Cont /* * Takes two containers and returns them as one with sibling relationship. */ -Container *merge_container(apr_pool_t *p, Container *l, Container *r) +static Container *merge_container(apr_pool_t *p, Container *l, Container *r) { Container *c, *next; @@ -232,7 +232,7 @@ Container *merge_container(apr_pool_t *p return c; } -void delete_from_hash(apr_pool_t *p, apr_hash_t *h, void *i) +static void delete_from_hash(apr_pool_t *p, apr_hash_t *h, void *i) { apr_hash_index_t *hashIndex; void *hashKey, *hashVal;