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

@@ -164,4 +164,6 @@ DisposeProtoDisplay( struct protoDisplay *pdpy )
XauDisposeAuth (pdpy->xdmcpAuthorization);
free ((char *) pdpy->address);
free ((char *) pdpy);
return 1;
}