aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
commit3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch)
tree43a618cb2507489be74cf3b52a18d4be5110fe58 /file.c
parenttgetstr("Km", &pt) cannot be used to detect is_xterm (diff)
downloadw3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz
w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip
follow autoconf conventions, #include cleanups
Diffstat (limited to '')
-rw-r--r--file.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/file.c b/file.c
index 93497b8..b755e24 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.6 2001/11/16 03:58:49 ukai Exp $ */
+/* $Id: file.c,v 1.7 2001/11/16 22:02:00 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7,9 +7,6 @@
#include <sys/wait.h>
#include <stdio.h>
#include <time.h>
-#ifdef __EMX__
-#include <strings.h>
-#endif /* __EMX__ */
#include <sys/stat.h>
#include <fcntl.h>
/* foo */
@@ -150,19 +147,6 @@ char *violations[COO_EMAX] = {
#define SAVE_BUF_SIZE 1536
-#ifndef STRCHR
-char *
-strchr(char *s, char c)
-{
- while (*s) {
- if (*s == c)
- return s;
- s++;
- }
- return NULL;
-}
-#endif /* not STRCHR */
-
static MySignalHandler
KeyAbort(SIGNAL_ARG)
{