summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 04:56:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 04:56:27 +0000
commit32dc42cf1a248821df7594047bd3fd7822622b32 (patch)
treeb44992897e705edbaec22a2c5e4aee402c5d5177 /file.c
parentec6b316cf26eae7eb36e3f9bce24110319e33e35 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;