summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/file.c b/file.c
index 2404211..4ea5871 100644
--- a/file.c
+++ b/file.c
@@ -43,17 +43,12 @@ struct timeval {
#endif
#ifndef HAVE_STRING_H
-char *strrchr();
+char *strrchr _((char*,char));
#endif
#include <sys/types.h>
#include <sys/stat.h>
-#ifndef NT
-char *strdup();
-char *getenv();
-#endif
-
#ifdef USE_CWGUSI
#include "macruby_missing.h"
extern int fileno(FILE *stream);
@@ -65,8 +60,6 @@ VALUE cFile;
VALUE mFileTest;
static VALUE sStat;
-VALUE time_new();
-
VALUE
file_open(fname, mode)
char *fname, *mode;