Changeset 8155


Ignore:
Timestamp:
05/20/20 12:50:37 (7 weeks ago)
Author:
quintiliani
Message:

Fix declaration of variables Site and nSite from header file include/site.h to src/libsrc/util/site.c

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/site.h

    r1466 r8155  
    4646} SITE; 
    4747 
    48 int   nSite; 
    49 SITE *Site; 
     48extern int   nSite; 
     49extern SITE *Site; 
    5050 
    5151/* Prototypes for functions in site.c 
  • trunk/release_notes.working

    r8154 r8155  
    5959Matteo Quintiliani 2020-03-23 
    6060 
     61src/libsrc/util/site.c include/site.h 
     62Fix declaration of variables Site and nSite. 
     63Move declaration and initialization from header file site.h to site.c 
     64and declared as 'extern' in the header file. 
     65Recompiled everything by 'make unix' with no error. 
     66Matteo Quintiliani 2020-05-20 
     67 
    6168 
    6269MINIMUM SYSTEM REQUIREMENTS: 
  • trunk/src/libsrc/util/site.c

    r7496 r8155  
    1515#include "site.h" 
    1616#include "earthworm_simple_funcs.h" 
     17 
     18int   nSite = 0; 
     19SITE *Site = NULL; 
    1720 
    1821/* Function Prototypes 
Note: See TracChangeset for help on using the changeset viewer.