Changeset 2646 for branches/libc-0.6


Ignore:
Timestamp:
Mar 15, 2006, 3:13:46 AM (19 years ago)
Author:
bird
Message:

#68: Implemented the _GETOPT_DECLARED blocker in getopt.h too.

Location:
branches/libc-0.6/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/ChangeLog.LIBC

    r2628 r2646  
    22
    33TODO: open replace on RAMFS fails with error 32!
     4
     52006-03-14: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     6    - libc:
     7        o #68: Implemented the _GETOPT_DECLARED blocker in getopt.h too.
    48
    592006-03-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
  • branches/libc-0.6/src/emx/include/getopt.h

    r2144 r2646  
    2121/** @file
    2222 * GLIBC 2.3.4
     23 * @changed bird: Added _GETOPT_DECLARED check and def.
    2324 */
    2425
     
    5556#endif
    5657
     58#ifndef _GETOPT_DECLARED /* bird: see next usage */
     59
    5760/* For communication from `getopt' to the caller.
    5861   When `getopt' finds an option that takes an argument,
     
    8588
    8689extern int optopt;
     90
     91#endif /* bird */
    8792
    8893#ifndef __need_getopt
     
    150155   `getopt'.  */
    151156
     157#ifndef _GETOPT_DECLARED /* bird: Also defined in unistd.h, this is the blocker. */
     158#define _GETOPT_DECLARED /* bird */
    152159#ifdef __GNU_LIBRARY__
    153160/* Many other libraries have conflicting prototypes for getopt, with
     
    159166extern int getopt ();
    160167#endif /* __GNU_LIBRARY__ */
     168#endif /* bird */
     169
    161170
    162171#ifndef __need_getopt
Note: See TracChangeset for help on using the changeset viewer.