Ignore:
Timestamp:
Dec 3, 2004, 2:23:20 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
751c513
Parents:
78219ad1
Message:

2004-12-02 Ralf Corsepius <ralf.corsepius@…>

  • libnetworking/kern/kern_sysctl.c, libnetworking/sys/sysctl.h: Add SYSCTL_CHILDREN_SET (Update from FreeBSD for GCC-4.0.0).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/kern/kern_sysctl.c

    r78219ad1 r46a1aa9  
    393393        if ((kind & CTLTYPE) == CTLTYPE_NODE) {
    394394                /* Allocate space for children */
    395                 /* Later accessed by macro SYSCTL_CHILDREN(oidp) */
    396                 oidp->oid_arg1 = malloc(sizeof(struct sysctl_oid_list),
    397                     M_SYSCTLOID, M_WAITOK);
     395                SYSCTL_CHILDREN_SET(oidp, malloc(sizeof(struct sysctl_oid_list),
     396                    M_SYSCTLOID, M_WAITOK));
    398397                SLIST_INIT(SYSCTL_CHILDREN(oidp));
    399398        } else {
Note: See TracChangeset for help on using the changeset viewer.