Changeset 0f0b5e8 in rtems


Ignore:
Timestamp:
Mar 27, 2007, 3:44:14 PM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d08e825b
Parents:
a52a20fc
Message:

2007-03-27 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/src/scandir.c: Eliminate P().
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra52a20fc r0f0b5e8  
    112007-03-27      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libcsupport/src/scandir.c: Eliminate __P().
    34        * pppd/chap.h, pppd/chap_ms.h, pppd/fsm.h, pppd/ipcp.h,
    45        pppd/lcp.h, pppd/magic.h, pppd/md4.h, pppd/pppd.h, pppd/upap.h:
  • cpukit/libcsupport/src/scandir.c

    ra52a20fc r0f0b5e8  
    7373    ((sizeof (struct dirent) - (NAME_MAX+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
    7474
    75 #ifndef __P
    76 #define __P(args) ()
    77 #endif
    78 
    7975int
    8076scandir(dirname, namelist, select, dcomp)
    8177        const char *dirname;
    8278        struct dirent ***namelist;
    83         int (*select) __P((struct dirent *));
    84         int (*dcomp) __P((const void *, const void *));
     79        int (*select)(struct dirent *);
     80        int (*dcomp)(const struct dirent **, const struct dirent **);
    8581{
    8682        register struct dirent *d = NULL;
Note: See TracChangeset for help on using the changeset viewer.