# | Line 11 | Line 11 | static const char RCSid[] = "$Id$"; | |
---|---|---|
11 | #include <stdio.h> | |
12 | #include <stdlib.h> | |
13 | ||
14 | + | #include "rterror.h" |
15 | ||
16 | char * | |
17 | emalloc(n) /* return pointer to n uninitialized bytes */ | |
# | Line 58 | Line 59 | unsigned int n; | |
59 | { | |
60 | if (n == 0) { | |
61 | if (cp != NULL) | |
62 | < | free(cp); |
62 | > | free((void *)cp); |
63 | return(NULL); | |
64 | } | |
65 | ||
# | Line 79 | Line 80 | void | |
80 | efree(cp) /* free memory allocated by above */ | |
81 | char *cp; | |
82 | { | |
83 | < | free((char *)cp); |
83 | > | free((void *)cp); |
84 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |