Changeset 61d281e in rtems-libbsd


Ignore:
Timestamp:
Dec 17, 2013, 1:05:00 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 647dd08ae2aa69b935c2847ea450fb824322ecae, freebsd-9.3, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
f724741
Parents:
e6d558f
git-author:
Sebastian Huber <sebastian.huber@…> (12/17/13 13:05:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/30/14 15:23:03)
Message:

DHCPCD(8): Add RTEMS program support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dhcpcd/dhcpcd.c

    re6d558f r61d281e  
    10931093}
    10941094
     1095#ifdef __rtems__
     1096#include <rtems/libio.h>
     1097
     1098static int
     1099main(int argc, char **argv);
     1100
     1101int rtems_bsd_command_dhcpcd(int argc, char **argv)
     1102{
     1103        int exit_code;
     1104
     1105        rtems_mkdir(DBDIR, S_IRWXU | S_IRWXG | S_IRWXO);
     1106
     1107        exit_code = rtems_bsd_program_call_main("dhcpcd", main, argc, argv);
     1108
     1109        return exit_code;
     1110}
     1111#endif /* __rtems__ */
     1112
    10951113int
    10961114main(int argc, char **argv)
Note: See TracChangeset for help on using the changeset viewer.