dtscreen: Resolve (all) 11 warnigns caused by -Wall

This commit is contained in:
Peter Howkins
2012-11-16 15:57:36 +00:00
parent a67b65198d
commit b556633eca
6 changed files with 14 additions and 12 deletions

View File

@@ -101,6 +101,8 @@ extern void drawflame();
extern void initworm();
extern void drawworm();
void CheckResources(void);
typedef struct {
char *cmdline_arg;
void (*lp_init) ();
@@ -507,7 +509,6 @@ open_display()
{
if (display != NULL) {
char *colon = strchr(display, ':');
int n = colon - display;
if (colon == NULL)
#ifdef MIT_R5
@@ -710,7 +711,7 @@ GetResources(argc, argv)
}
CheckResources()
void CheckResources(void)
{
int i;