|
@@ -481,9 +481,8 @@ char *savestring(struct Global *global, char *text)
|
|
|
/*
|
|
/*
|
|
|
* Store a string into free memory.
|
|
* Store a string into free memory.
|
|
|
*/
|
|
*/
|
|
|
- (void)global; // BK - not used but causes warning.
|
|
|
|
|
-
|
|
|
|
|
char *result;
|
|
char *result;
|
|
|
|
|
+ (void)global; // BK - not used but causes warning.
|
|
|
result = malloc(strlen(text) + 1);
|
|
result = malloc(strlen(text) + 1);
|
|
|
strcpy(result, text);
|
|
strcpy(result, text);
|
|
|
return (result);
|
|
return (result);
|