Commit b51d37ba authored by Uwe Schulzweida's avatar Uwe Schulzweida

demmory.h: change __FUNCTION__ to __func__

parent 5e6db220
\chapter{Introduction}
The Climate Data Operators ({\CDO}) software are a collection of many operators
The Climate Data Operators ({\CDO}) software is a collection of many operators
for standard processing of climate and NWP model output.
The operators include simple statistical and arithmetic functions, data selection
and subsampling tools, and spatial interpolation.
......
......@@ -31,7 +31,7 @@ extern void Free (const char *caller, const char *file, int line, void *ptr
#if defined WITH_CALLER_NAME
# define realloc(p, s) Realloc(__func__, __FILE__, __LINE__, p, (size_t)s)
# define calloc(n, s) Calloc(__func__, __FILE__, __LINE__, n, (size_t)s)
# define malloc(s) Malloc(__FUNCTION__, __FILE__, __LINE__, (size_t)s)
# define malloc(s) Malloc(__func__, __FILE__, __LINE__, (size_t)s)
# define free(p) Free(__func__, __FILE__, __LINE__, p)
#else
# define realloc(p, s) Realloc((void *) NULL, __FILE__, __LINE__, p, (size_t)s)
......
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