dtscreen: convert K&R prototypes to ansi C

This commit is contained in:
Peter Howkins
2015-01-14 15:06:33 +00:00
parent 5c8f66a07d
commit d53a979639
14 changed files with 56 additions and 137 deletions

View File

@@ -72,8 +72,7 @@ typedef struct {
} imagestruct;
void
drawimage(pwin)
perwindow *pwin;
drawimage(perwindow *pwin)
{
imagestruct *ip;
int i;
@@ -106,8 +105,7 @@ drawimage(pwin)
}
void
initimage(pwin)
perwindow *pwin;
initimage(perwindow *pwin)
{
XWindowAttributes xgwa;
imagestruct *ip;