1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-28 21:18:15 +00:00

index/rindex are deprecated in favor of strchr/strrchr so use them directly (#71)

This commit is contained in:
Nick Briggs
2020-12-15 12:55:30 -08:00
committed by GitHub
parent 8e66ec841f
commit 525bda44c8
4 changed files with 4 additions and 12 deletions

View File

@@ -34,8 +34,6 @@ static char *id = "$Id: main.c,v 1.4 2001/12/26 22:17:03 sybalsky Exp $ Copyrigh
#include <i32.h>
#define MAXPATHLEN 128
#define R_OK 04
#define index strchr
#define rindex strrchr
#endif /* DOS */
#ifndef NOETHER