~javier-lopez/ubuntu/quantal/cdo/sru-1023329

« back to all changes in this revision

Viewing changes to src/Seasstat.c

  • Committer: Bazaar Package Importer
  • Author(s): Alastair McKinstry
  • Date: 2010-09-22 15:58:09 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100922155809-u1d3vlmlqj02uxjt
Tags: 1.4.6.dfsg.1-1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
*/
29
29
 
30
30
 
31
 
#include "cdi.h"
 
31
#include <cdi.h>
32
32
#include "cdo.h"
33
33
#include "cdo_int.h"
34
34
#include "pstream.h"
37
37
 
38
38
void *Seasstat(void *argument)
39
39
{
40
 
  static char func[] = "Seasstat";
 
40
  static const char *func = "Seasstat";
41
41
  int operatorID;
42
42
  int operfunc;
43
43
  int gridsize;
75
75
  cdoOperatorAdd("seasstd",  func_std,  0, NULL);
76
76
 
77
77
  operatorID = cdoOperatorID();
78
 
  operfunc = cdoOperatorFunc(operatorID);
 
78
  operfunc = cdoOperatorF1(operatorID);
79
79
 
80
80
  season_start = get_season_start();
81
81
  get_season_name(seas_name);