Sun Aug 9 22:39:12 1998 Janne Kukonlehto <jtklehto@paju.oulu.fi>

* mad.h (calloc): Added parentheses around the arguments as
        suggested by Steef Boerrigter <sxmboer@sci.kun.nl>.
This commit is contained in:
Janne Kukonlehto 1998-08-09 19:50:24 +00:00
parent 0f1714fc43
commit af1570c035
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Aug 9 22:39:12 1998 Janne Kukonlehto <jtklehto@paju.oulu.fi>
* mad.h (calloc): Added parentheses around the arguments as
suggested by Steef Boerrigter <sxmboer@sci.kun.nl>.
Fri Jul 31 09:04:35 1998 Pavel Roskin <pavel.roskin@escoft.co.uk> Fri Jul 31 09:04:35 1998 Pavel Roskin <pavel.roskin@escoft.co.uk>
* syntax.c: makefile* will be highlighted as Makefile* * syntax.c: makefile* will be highlighted as Makefile*

View File

@ -23,7 +23,7 @@
#endif #endif
#define malloc(x) mad_alloc (x, __FILE__, __LINE__) #define malloc(x) mad_alloc (x, __FILE__, __LINE__)
#define calloc(x, y) mad_alloc (x * y, __FILE__, __LINE__) #define calloc(x, y) mad_alloc ((x) * (y), __FILE__, __LINE__)
#define realloc(x, y) mad_realloc (x, y, __FILE__, __LINE__) #define realloc(x, y) mad_realloc (x, y, __FILE__, __LINE__)
#define xmalloc(x, y) mad_alloc (x, __FILE__, __LINE__) #define xmalloc(x, y) mad_alloc (x, __FILE__, __LINE__)
#define strdup(x) mad_strdup (x, __FILE__, __LINE__) #define strdup(x) mad_strdup (x, __FILE__, __LINE__)