httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1184892 - /httpd/mod_mbox/trunk/module-2.0/mbox_thread.c
Date Sun, 16 Oct 2011 18:06:01 GMT
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;



Mime
View raw message