summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-07-06 01:31:24 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-07-06 10:43:56 +0200
commit725b7bd79f2c28aba188ae0768bb5bbb5e416fa0 (patch)
tree3c459191729651f11d6a32c9464035698e675ab8 /crawl-ref/source/exclude.cc
parent80a2d8a18ee93dfa3d541b71ff1eac53d737499c (diff)
downloadcrawl-ref-725b7bd79f2c28aba188ae0768bb5bbb5e416fa0.tar.gz
crawl-ref-725b7bd79f2c28aba188ae0768bb5bbb5e416fa0.zip
For functions with names starting with _, actually declare them static.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index a71c372606..ca02e9508e 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -98,7 +98,7 @@ void remove_auto_exclude(const monsters *mon, bool sleepy)
}
}
-opacity_type _feat_opacity(dungeon_feature_type feat)
+static opacity_type _feat_opacity(dungeon_feature_type feat)
{
return (feat_is_opaque(feat) ? OPC_OPAQUE : OPC_CLEAR);
}
@@ -318,7 +318,7 @@ exclude_set::iterator exclude_set::end()
/////////////////////////////////////////////////////////////////////////
-void _mark_excludes_non_updated(const coord_def &p)
+static void _mark_excludes_non_updated(const coord_def &p)
{
for (exclude_set::iterator it = curr_excludes.begin();
it != curr_excludes.end(); ++it)