Changeset b2eb48c in rtems-libbsd for dhcpcd/dhcpcd.c


Ignore:
Timestamp:
May 2, 2018, 7:01:32 AM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
e1d62e8
Parents:
8bd38d6
git-author:
Sebastian Huber <sebastian.huber@…> (05/02/18 07:01:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/08/18 05:37:17)
Message:

dhcpcd: Add hooks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dhcpcd/dhcpcd.c

    r8bd38d6 rb2eb48c  
    16001600        exit(EXIT_SUCCESS);
    16011601}
     1602#ifdef __rtems__
     1603int
     1604dhcpcd_script_runreason_do_nothing(const struct interface *ifp,
     1605    const char *reason)
     1606{
     1607        return 0;
     1608}
     1609
     1610/*
     1611 * Do not pull in the script support if it is not used, e.g. no call to
     1612 * rtems_dhcpcd_add_hook() is present.
     1613 */
     1614__weak_reference(dhcpcd_script_runreason_do_nothing, dhcpcd_script_runreason);
     1615#endif /* __rtems__ */
Note: See TracChangeset for help on using the changeset viewer.