Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
58079b55
Commit
58079b55
authored
Aug 22, 2010
by
Uwe Schulzweida
Browse files
change func[] to *func
parent
2ec5531d
Changes
177
Hide whitespace changes
Inline
Side-by-side
src/Arith.c
View file @
58079b55
...
...
@@ -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
};
...
...
src/Arithc.c
View file @
58079b55
...
...
@@ -33,7 +33,7 @@
void
*
Arithc
(
void
*
argument
)
{
static
char
func
[]
=
"Arithc"
;
static
const
char
*
func
=
"Arithc"
;
int
operatorID
;
int
operfunc
;
int
streamID1
,
streamID2
;
...
...
src/Arithdays.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Arithlat.c
View file @
58079b55
...
...
@@ -35,7 +35,7 @@
void
*
Arithlat
(
void
*
argument
)
{
static
char
func
[]
=
"Arithlat"
;
static
const
char
*
func
=
"Arithlat"
;
int
operatorID
;
int
operfunc
;
int
streamID1
,
streamID2
;
...
...
src/CDItest.c
View file @
58079b55
...
...
@@ -28,7 +28,7 @@
void
*
CDItest
(
void
*
argument
)
{
static
char
func
[]
=
"CDItest"
;
static
const
char
*
func
=
"CDItest"
;
int
NCOPY
;
int
operatorID
;
int
streamID1
,
streamID2
;
...
...
src/Cat.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Change.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Change_e5slm.c
View file @
58079b55
...
...
@@ -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
];
...
...
src/Cloudlayer.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Command.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Comp.c
View file @
58079b55
...
...
@@ -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
};
...
...
src/Compc.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Cond.c
View file @
58079b55
...
...
@@ -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
};
...
...
src/Cond2.c
View file @
58079b55
...
...
@@ -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
};
...
...
src/Condc.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Consecstat.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Copy.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Detrend.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/Diff.c
View file @
58079b55
...
...
@@ -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
;
...
...
src/EOFs.c
View file @
58079b55
...
...
@@ -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
;
...
...
Prev
1
2
3
4
5
…
9
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment