dtcalc: Convert functions from K&R to ansi declarations.

This commit is contained in:
Peter Howkins
2012-11-16 17:03:10 +00:00
parent b556633eca
commit f4339cd58e
8 changed files with 225 additions and 456 deletions

View File

@@ -41,8 +41,7 @@
void
read_str(str, value)
char **str, *value ;
read_str(char **str, char *value)
{
if (*str != NULL) FREE(*str) ;
if (value != NULL && strlen(value))
@@ -55,8 +54,7 @@ char **str, *value ;
char *
set_bool(value)
int value ;
set_bool(int value)
{
return((value) ? "true" : "false") ;
}