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 modInfo_t* GetNxt(modInfo_t* pThis)
{
    modInfo_t* pNew;

    if (pThis == NULL)
        pNew = pLoadedModules;
    else
        pNew = pThis->pNext;

    return (pNew);
}
/* Get the next module pointer - this is used to traverse the list.
 * The function returns the next pointer or NULL, if there is no next one.
 * The last object must be provided to the function. If NULL is provided,
 * it starts at the root of the list. Even in this case, NULL may be
 * returned - then, the list is empty.
 * rgerhards, 2007-07-23
 */
Get the next module pointer - this is used to traverse the list.
The function returns the next pointer or NULL, if there is no next one.
The last object must be provided to the function. If NULL is provided,
it starts at the root of the list. Even in this case, NULL may be
returned - then, the list is empty.
Get the next module pointer - this is used to traverse the list . The function returns the next pointer or NULL if there is no next one . The last object must be provided to the function . If NULL is provided it starts at the root of the list . Even in this case NULL may be returned - then the list is empty .
static modInfo_t* GetNxt(modInfo_t* pThis)
{
    modInfo_t* pNew;
    if (pThis == NULL)
        pNew = pLoadedModules;
    else
        pNew = pThis->pNext;
    return (pNew);
}
static modInfo_t * GetNxt ( modInfo_t * pThis ) { modInfo_t * pNew ; if ( pThis == NULL ) pNew = pLoadedModules ; else pNew = pThis -> pNext ; return ( pNew ) ; }
Get the next module pointer - this is used to traverse the list.
Get the next module pointer - this is used to traverse the list .