aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/thread.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-01 21:58:43 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-11-01 21:58:43 -0700
commit67c3bc9db48c9e12d648df4792c706cae723676c (patch)
treefdeff4d93d3da44152b04d1173451ae69f19b0db /lib/thread.cc
parent71ff704149d2ab64e14f6731cf84f5185c038751 (diff)
lib: Add some missing static qualifiers.
These various functions and data are all used only locally, so should be marked static. Ensuring we get these right will avoid us accidentally leaking unintended symbols through the library interface.
Diffstat (limited to 'lib/thread.cc')
-rw-r--r--lib/thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.cc b/lib/thread.cc
index 13872d46..c2914039 100644
--- a/lib/thread.cc
+++ b/lib/thread.cc
@@ -140,14 +140,14 @@ _complete_thread_authors (notmuch_thread_t *thread)
thread->authors_array = NULL;
}
-/* clean up the uggly "Lastname, Firstname" format that some mail systems
+/* clean up the ugly "Lastname, Firstname" format that some mail systems
* (most notably, Exchange) are creating to be "Firstname Lastname"
* To make sure that we don't change other potential situations where a
* comma is in the name, we check that we match one of these patterns
* "Last, First" <first.last@company.com>
* "Last, First MI" <first.mi.last@company.com>
*/
-char *
+static char *
_thread_cleanup_author (notmuch_thread_t *thread,
const char *author, const char *from)
{