| # | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 10 | #include <stdio.h> | |
| 11 | #include <stdlib.h> | |
| 12 | #include <ctype.h> | |
| 13 | + | |
| 14 | + | #include "standard.h" |
| 15 | #include "vars.h" | |
| 16 | ||
| 17 | #define NOCHAR 127 /* constant for character to delete */ | |
| # | Line 94 | Line 96 | VARIABLE *(*mv)(); | |
| 96 | while (*cp++) | |
| 97 | ; | |
| 98 | i = cp - vp->value; | |
| 99 | < | vp->value = (char *)realloc(vp->value, i+n+1); |
| 99 | > | vp->value = (char *)realloc((void *)vp->value, i+n+1); |
| 100 | } else | |
| 101 | vp->value = (char *)malloc(n+1); | |
| 102 | if (vp->value == NULL) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |