From: eap Date: Wed, 29 Sep 2010 13:54:58 +0000 (+0000) Subject: Remove compilation warning on Mandriva 2010.1 X-Git-Tag: V1_MEDMEM_PreparedForV6~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f29720c12d4f6eba80c469c11cf5295aa165c59f;p=tools%2Fmedcoupling.git Remove compilation warning on Mandriva 2010.1 warning: no previous declaration for ... --- diff --git a/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx b/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx index bfac8f9c8..b7fa9348c 100644 --- a/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx +++ b/src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx @@ -34,7 +34,7 @@ using namespace INTERP_KERNEL; namespace INTERP_TEST { - void fill_UnitTetraIntersectionBary(UnitTetraIntersectionBary& bary, double nodes[][3]) + static void fill_UnitTetraIntersectionBary(UnitTetraIntersectionBary& bary, double nodes[][3]) { int faceConn[4][3] = { { 0, 1, 2 },// inverse order { 0, 3, 1 }, diff --git a/src/RENUMBER/renumbering.cxx b/src/RENUMBER/renumbering.cxx index ee9853f99..89cc4acec 100644 --- a/src/RENUMBER/renumbering.cxx +++ b/src/RENUMBER/renumbering.cxx @@ -39,6 +39,9 @@ using namespace std; using namespace MED_EN; using namespace MED_RENUMBER; +namespace +{ + void computeNeighbour(const MESH* mesh,const medGeometryElement& Type, vector >& neighbour, int& ntot,int& nb_cell) { CONNECTIVITY* conn = (CONNECTIVITY*)mesh->getConnectivityptr(); @@ -186,6 +189,7 @@ void changeFamily(MESH* mesh, const medGeometryElement& Type, const vector& } } } +} // namespace int main (int argc, char** argv) {