slist.c
slistnode_t *CreateSListNode(void *p_element)
{
    slistnode_t *p_new;

    if ((p_new = malloc(sizeof(slistnode_t))) != NULL)
    {
        p_new->L_next = NULL;
        p_new->L_element = p_element;
    }
    return p_new;
}
/*----------------------------------------------------------------------*/
/*    CreateSListNode();                                                */
/*                                                                      */
/*    Create a node element and return a pointer to it.                 */
/*----------------------------------------------------------------------*/
CreateSListNode();
Create a node element and return a pointer to it.
CreateSListNode () ; Create a node element and return a pointer to it .
slistnode_t *CreateSListNode(void *p_element)
{
    slistnode_t *p_new;
    if ((p_new = malloc(sizeof(slistnode_t))) != NULL)
    {
        p_new->L_next = NULL;
        p_new->L_element = p_element;
    }
    return p_new;
}
slistnode_t * CreateSListNode ( void * p_element ) { slistnode_t * p_new ; if ( ( p_new = malloc ( sizeof ( slistnode_t ) ) ) != NULL ) { p_new -> L_next = NULL ; p_new -> L_element = p_element ; } return p_new ; }
CreateSListNode();
Create a node element and return a pointer to it.
CreateSListNode () ; Create a node element and return a pointer to it .