Changeset f724741 in rtems-libbsd


Ignore:
Timestamp:
Jan 21, 2014, 3:14:42 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
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.