2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>

* libmisc/shell/hexdump-display.c:
	Eliminate bcopy, bzero, bcmp, index (Obsolete).
	* libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
	* libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
	* libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
	* libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
This commit is contained in:
Ralf Corsepius
2011-02-02 04:21:26 +00:00
parent 931ed32beb
commit 5b1f197948
6 changed files with 23 additions and 15 deletions

View File

@@ -65,11 +65,10 @@ __FBSDID("$FreeBSD: src/bin/rm/rm.c,v 1.58 2006/10/31 02:22:36 delphij Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <unistd.h>
#define rindex(s,c) strrchr(s,c)
/* RTEMS specific changes */
typedef struct {
int dflag, eval, fflag, iflag, Pflag, vflag, Wflag, stdin_ok;