diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
commit | 3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch) | |
tree | 43a618cb2507489be74cf3b52a18d4be5110fe58 /file.c | |
parent | tgetstr("Km", &pt) cannot be used to detect is_xterm (diff) | |
download | w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip |
follow autoconf conventions, #include cleanups
Diffstat (limited to '')
-rw-r--r-- | file.c | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -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) { |