Changeset f724741 in rtems-libbsd


Ignore:
Timestamp:
Jan 21, 2014, 3:14:42 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 0ad342ae5f65d22eb6c914d58664d3b5d1d3d43f, freebsd-9.3, 98d197895b6162050176ea18d66783a1dc216d82
Children:
9cc83a7
Parents:
61d281e
git-author:
Sebastian Huber <sebastian.huber@…> (01/21/14 15:14:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/30/14 15:23:03)
Message:

DHCPCD(8): Add getopt_long_r() support

Location:
dhcpcd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dhcpcd/dhcpcd.c

    r61d281e rf724741  
    3838#include <ctype.h>
    3939#include <errno.h>
     40#ifdef __rtems__
     41#define __need_getopt_newlib
     42#endif /* __rtems__ */
    4043#include <getopt.h>
    4144#include <limits.h>
     
    10961099#include <rtems/libio.h>
    10971100
     1101struct getopt_data dhcpcd_getopt_data;
     1102
    10981103static int
    10991104main(int argc, char **argv);
  • dhcpcd/if-options.c

    r61d281e rf724741  
    3434#include <ctype.h>
    3535#include <errno.h>
     36#ifdef __rtems__
     37#define __need_getopt_newlib
     38#endif /* __rtems__ */
    3639#include <getopt.h>
    3740#include <limits.h>
Note: See TracChangeset for help on using the changeset viewer.