openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/modules.c
static void addModToGlblList(modInfo_t* pThis)
{
    assert(pThis != NULL);

    if (pLoadedModules == NULL)
    {
        pLoadedModules = pLoadedModulesLast = pThis;
    }
    else
    {
        /* there already exist entries */
        pThis->pPrev = pLoadedModulesLast;
        pLoadedModulesLast->pNext = pThis;
        pLoadedModulesLast = pThis;
    }
}
/* Add a module to the loaded module linked list
 */
Add a module to the loaded module linked list
Add a module to the loaded module linked list
static void addModToGlblList(modInfo_t* pThis)
{
    assert(pThis != NULL);
    if (pLoadedModules == NULL)
    {
        pLoadedModules = pLoadedModulesLast = pThis;
    }
    else
    {
        pThis->pPrev = pLoadedModulesLast;
        pLoadedModulesLast->pNext = pThis;
        pLoadedModulesLast = pThis;
    }
}
static void addModToGlblList ( modInfo_t * pThis ) { assert ( pThis != NULL ) ; if ( pLoadedModules == NULL ) { pLoadedModules = pLoadedModulesLast = pThis ; } else { pThis -> pPrev = pLoadedModulesLast ; pLoadedModulesLast -> pNext = pThis ; pLoadedModulesLast = pThis ; } }
Add a module to the loaded module linked list
Add a module to the loaded module linked list
/* there already exist entries */