dtlogin: start to resolve static analysis warnings

Also convert some K&R function declarations to ansi
This commit is contained in:
Peter Howkins
2014-12-23 17:49:11 +00:00
parent 29294e0373
commit e54c164fe1
13 changed files with 215 additions and 317 deletions

View File

@@ -371,6 +371,7 @@ ScanServers( void )
{
ParseDisplay (servers, acceptableTypes, NumTypes, &puser);
}
return 1;
}
static void
@@ -1204,6 +1205,7 @@ StartDisplay(
d->status = running;
break;
}
return 1;
}
static void
@@ -1484,6 +1486,7 @@ SetTitle( char *name, char *ptr )
free(p);
#endif
return 1;
}