From f29720c12d4f6eba80c469c11cf5295aa165c59f Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 29 Sep 2010 13:54:58 +0000 Subject: [PATCH] Remove compilation warning on Mandriva 2010.1 warning: no previous declaration for ... --- src/INTERP_KERNELTest/UnitTetraIntersectionBaryTest.cxx | 2 +- src/RENUMBER/renumbering.cxx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.39.2