forked from Imagelibrary/rtems
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user