summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util.c b/util.c
index f299c1cf04..09e4a013c6 100644
--- a/util.c
+++ b/util.c
@@ -48,7 +48,7 @@ rb_test_false_or_nil(v)
#include "util.h"
#ifndef HAVE_STRING_H
-char *strchr();
+char *strchr _((char*,char));
#endif
unsigned long
@@ -305,7 +305,6 @@ valid_filename(char *s)
#include <libc/stubs.h>
#include <stdio.h> /* For FILENAME_MAX */
#include <errno.h> /* For errno */
-#include <ctype.h> /* For tolower */
#include <fcntl.h> /* For LFN stuff */
#include <go32.h>
#include <dpmi.h> /* For dpmisim */