]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
rose: make groupByFragment local
authorJustin Viiret <justin.viiret@intel.com>
Tue, 31 Jan 2017 01:25:11 +0000 (12:25 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 04:49:51 +0000 (14:49 +1000)
src/rose/rose_build_bytecode.cpp
src/rose/rose_build_impl.h

index c89d2073ca15cc87453a03db2b7304c617bd4065..0dbe20eaa964f6a414759ee4ce20f18128d541c4 100644 (file)
@@ -4649,6 +4649,7 @@ rose_literal_id getFragment(const rose_literal_id &lit) {
     return frag;
 }
 
+static
 map<u32, LitFragment> groupByFragment(const RoseBuildImpl &build) {
     u32 frag_id = 0;
     map<u32, LitFragment> final_to_frag;
index e9ba5f5550016538456be1c90630d99211dbcdeb..dc696ddddd6bb0eda18bc70e9dc8d2c19cfdd7e7 100644 (file)
@@ -651,8 +651,6 @@ void normaliseLiteralMask(const ue2_literal &s, std::vector<u8> &msk,
 bool canImplementGraphs(const RoseBuildImpl &tbi);
 #endif
 
-std::map<u32, LitFragment> groupByFragment(const RoseBuildImpl &build);
-
 } // namespace ue2
 
 #endif /* ROSE_BUILD_IMPL_H_17E20A3C6935D6 */