diff options
author | Carl Worth <cworth@cworth.org> | 2010-11-01 21:58:43 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-11-01 21:58:43 -0700 |
commit | 67c3bc9db48c9e12d648df4792c706cae723676c (patch) | |
tree | fdeff4d93d3da44152b04d1173451ae69f19b0db /lib/database.cc | |
parent | 71ff704149d2ab64e14f6731cf84f5185c038751 (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/database.cc')
-rw-r--r-- | lib/database.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/database.cc b/lib/database.cc index e4ac970..414460d 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -185,7 +185,7 @@ typedef struct { * nearly universal to all mail messages). */ -prefix_t BOOLEAN_PREFIX_INTERNAL[] = { +static prefix_t BOOLEAN_PREFIX_INTERNAL[] = { { "type", "T" }, { "reference", "XREFERENCE" }, { "replyto", "XREPLYTO" }, @@ -194,14 +194,14 @@ prefix_t BOOLEAN_PREFIX_INTERNAL[] = { { "directory-direntry", "XDDIRENTRY" }, }; -prefix_t BOOLEAN_PREFIX_EXTERNAL[] = { +static prefix_t BOOLEAN_PREFIX_EXTERNAL[] = { { "thread", "G" }, { "tag", "K" }, { "is", "K" }, { "id", "Q" } }; -prefix_t PROBABILISTIC_PREFIX[]= { +static prefix_t PROBABILISTIC_PREFIX[]= { { "from", "XFROM" }, { "to", "XTO" }, { "attachment", "XATTACHMENT" }, |