Commit 58079b55 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

change func[] to *func

parent 2ec5531d
......@@ -35,7 +35,7 @@
void *Arith(void *argument)
{
static char func[] = "Arith";
static const char *func = "Arith";
int operatorID;
int operfunc;
enum {FILL_NONE, FILL_TS, FILL_REC, FILL_RECTS, FILL_FILE};
......
......@@ -33,7 +33,7 @@
void *Arithc(void *argument)
{
static char func[] = "Arithc";
static const char *func = "Arithc";
int operatorID;
int operfunc;
int streamID1, streamID2;
......
......@@ -33,7 +33,7 @@
void *Arithdays(void *argument)
{
static char func[] = "Arithdays";
static const char *func = "Arithdays";
int operatorID;
int operfunc, operfunc2;
int streamID1, streamID2;
......
......@@ -35,7 +35,7 @@
void *Arithlat(void *argument)
{
static char func[] = "Arithlat";
static const char *func = "Arithlat";
int operatorID;
int operfunc;
int streamID1, streamID2;
......
......@@ -28,7 +28,7 @@
void *CDItest(void *argument)
{
static char func[] = "CDItest";
static const char *func = "CDItest";
int NCOPY;
int operatorID;
int streamID1, streamID2;
......
......@@ -34,7 +34,7 @@ void vlistDefVarTime(int vlistID, int varID, int timeID);
void *Cat(void *argument)
{
static char func[] = "Cat";
static const char *func = "Cat";
int streamID1, streamID2 = CDI_UNDEFID;
int nrecs;
int tsID1, tsID2 = 0, recID, varID, levelID;
......
......@@ -37,7 +37,7 @@
void *Change(void *argument)
{
static char func[] = "Change";
static const char *func = "Change";
int CHCODE, CHTABNUM, CHNAME, CHLEVEL, CHLEVELC, CHLEVELV, CHLTYPE;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -47,7 +47,7 @@ void minmax(int nvals, double *array, double *minval, double *maxval)
void *Change_e5slm(void *argument)
{
static char func[] = "Change_e5slm";
static const char *func = "Change_e5slm";
int streamIDslm, streamID1, streamID2;
const char *fn_slm;
char name[256];
......
......@@ -122,7 +122,7 @@ void pl_index(int *kmax, int *kmin, double pmax, double pmin, long nlevs, double
void *Cloudlayer(void *argument)
{
static char func[] = "Cloudlayer";
static const char *func = "Cloudlayer";
int streamID1, streamID2;
int vlistID1, vlistID2;
int taxisID1, taxisID2;
......
......@@ -268,7 +268,7 @@ void readcmd(const char *prompt, char *line, int size)
void *Command(void *argument)
{
static char func[] = "Command";
static const char *func = "Command";
int nrecs;
int recID, varID, levelID;
int gridsize;
......
......@@ -34,7 +34,7 @@
void *Comp(void *argument)
{
static char func[] = "Comp";
static const char *func = "Comp";
int EQ, NE, LE, LT, GE, GT;
int operatorID;
enum {FILL_NONE, FILL_TS, FILL_REC};
......
......@@ -35,7 +35,7 @@
void *Compc(void *argument)
{
static char func[] = "Compc";
static const char *func = "Compc";
int EQC, NEC, LEC, LTC, GEC, GTC;
int operatorID;
int streamID1, streamID2;
......
......@@ -30,7 +30,7 @@
void *Cond(void *argument)
{
static char func[] = "Cond";
static const char *func = "Cond";
int IFTHEN, IFNOTTHEN;
int operatorID;
enum {FILL_NONE, FILL_TS, FILL_REC};
......
......@@ -29,7 +29,7 @@
void *Cond2(void *argument)
{
static char func[] = "Cond2";
static const char *func = "Cond2";
int IFTHENELSE;
int operatorID;
enum {FILL_NONE, FILL_TS, FILL_REC};
......
......@@ -31,7 +31,7 @@
void *Condc(void *argument)
{
static char func[] = "Condc";
static const char *func = "Condc";
int IFTHENC, IFNOTTHENC;
int operatorID;
int streamID1, streamID2;
......
......@@ -45,7 +45,7 @@ enum {CONSECSUM, CONSECTS};
static void selEndOfPeriod(field_t *periods, field_t history, field_t current, int isLastTimestep)
{
static char func[] = "selEndOfPeriod";
static const char *func = "selEndOfPeriod";
long i, len;
double pmissval = periods->missval;
double *parray = periods->ptr;
......@@ -127,7 +127,7 @@ static void selEndOfPeriod(field_t *periods, field_t history, field_t current, i
void *Consecstat (void *argument)
{
static char func[] = "Consecstat";
static const char *func = "Consecstat";
int operatorID;
int i;
......
......@@ -31,7 +31,7 @@ void vlistDefVarTime(int vlistID, int varID, int timeID);
void *Copy(void *argument)
{
static char func[] = "Copy";
static const char *func = "Copy";
int COPY, SELALL;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -68,7 +68,7 @@ void detrend(int nts, double missval1, double *array1, double *array2)
void *Detrend(void *argument)
{
static char func[] = "Detrend";
static const char *func = "Detrend";
int ompthID;
int gridsize;
int nrecs;
......
......@@ -30,7 +30,7 @@
void *Diff(void *argument)
{
static char func[] = "Diff";
static const char *func = "Diff";
int DIFF, DIFFP, DIFFV, SDIFF;
int operatorID;
int i;
......
......@@ -71,7 +71,7 @@ int n_finished;
void *EOFs(void * argument)
{
static char func[] = "EOFs";
static const char *func = "EOFs";
enum {EOF_, EOF_TIME, EOF_SPATIAL};
int operatorID;
int operfunc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment