Changeset 5b1f1979 in rtems


Ignore:
Timestamp:
Feb 2, 2011, 4:21:26 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
b8563fa9
Parents:
931ed32b
Message:

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

  • 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).
Location:
cpukit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r931ed32b r5b1f1979  
     12011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/shell/hexdump-display.c:
     4        Eliminate bcopy, bzero, bcmp, index (Obsolete).
     5        * libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
     6        * libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
     7        * libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
     8        * libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
     9
    1102011-02-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • cpukit/libmisc/shell/hexdump-display.c

    r931ed32b r5b1f1979  
    5757#include <stdlib.h>
    5858#include <string.h>
    59 #ifdef HAVE_STRINGS_H
    60 #include <strings.h>
    61 #endif
    6259#include <unistd.h>
    6360#include "hexdump.h"
     61
     62#define bcmp(s1,s2,sz)  memcmp(s1,s2,sz)
     63#define bcopy(s,d,sz)   memcpy(d,s,sz)
     64#define bzero(s,sz)     memset(s,0,sz)
     65#define index(s,c)      strchr(s,c)
    6466
    6567#if RTEMS_REMOVED
  • cpukit/libmisc/shell/hexdump-parse.c

    r931ed32b r5b1f1979  
    5252#include <ctype.h>
    5353#include <string.h>
    54 #ifdef HAVE_STRINGS_H
    55 #include <strings.h>
    56 #endif
     54
     55#define index(s,c)      strchr(s,c)
    5756
    5857#include "hexdump.h"
  • cpukit/libmisc/shell/hexsyntax.c

    r931ed32b r5b1f1979  
    5050#include <stdlib.h>
    5151#include <string.h>
    52 #ifdef HAVE_STRINGS_H
    53 #include <strings.h>
    54 #endif
    5552#include <unistd.h>
     53
     54#define rindex(s,c)     strrchr(s,c)
    5655
    5756#include "hexdump.h"
  • cpukit/libmisc/shell/main_hexdump.c

    r931ed32b r5b1f1979  
    5959#include <stdio.h>
    6060#include <string.h>
    61 #ifdef HAVE_STRINGS_H
    62 #include <strings.h>
    63 #endif
     61
     62#define rindex(s,c)     strrchr(s,c)
     63
    6464#include "hexdump.h"
    6565
  • cpukit/libmisc/shell/main_rm.c

    r931ed32b r5b1f1979  
    6666#include <stdlib.h>
    6767#include <string.h>
    68 #ifdef HAVE_STRINGS_H
    69 #include <strings.h>
    70 #endif
    7168#include <unistd.h>
     69
     70#define rindex(s,c)     strrchr(s,c)
    7271
    7372/* RTEMS specific changes */
Note: See TracChangeset for help on using the changeset viewer.