[cig-commits] r5299 - mc/3D/CitcomS/trunk/lib

tan2 at geodynamics.org tan2 at geodynamics.org
Wed Nov 15 19:01:59 PST 2006


Author: tan2
Date: 2006-11-15 19:01:59 -0800 (Wed, 15 Nov 2006)
New Revision: 5299

Modified:
   mc/3D/CitcomS/trunk/lib/Topo_gravity.c
Log:
Declared function prototype at the top

Modified: mc/3D/CitcomS/trunk/lib/Topo_gravity.c
===================================================================
--- mc/3D/CitcomS/trunk/lib/Topo_gravity.c	2006-11-16 02:07:09 UTC (rev 5298)
+++ mc/3D/CitcomS/trunk/lib/Topo_gravity.c	2006-11-16 03:01:59 UTC (rev 5299)
@@ -30,7 +30,10 @@
 #include "element_definitions.h"
 #include "global_defs.h"
 
+static void geoid_from_buoyancy();
+static void geoid_from_topography();
 
+
 void get_STD_topo(E,tpg,tpgb,divg,vort,ii)
     struct All_variables *E;
     float **tpg,**tpgb;
@@ -405,9 +408,6 @@
      struct All_variables *E;
      float *harm_geoid[2], *harm_tpgt[2], *harm_tpgb[2];
 {
-    static void geoid_from_buoyancy();
-    static void geoid_from_topography();
-
     int ll, mm, p;
 
     for (ll=1;ll<=E->output.llmax;ll++)



More information about the cig-commits mailing list