src/sset.c
void
sset_clear(struct sset *set)
{
    const char *name, *next;

    SSET_FOR_EACH_SAFE (name, next, set) {
        sset_delete(set, SSET_NODE_FROM_NAME(name));
    }
}
/* Removes all of the strings from 'set'. */
Removes all of the strings from 'set'.
Removes all of the strings from ' set ' .
void
sset_clear(struct sset *set)
{
    const char *name, *next;
    SSET_FOR_EACH_SAFE (name, next, set) {
        sset_delete(set, SSET_NODE_FROM_NAME(name));
    }
}
void sset_clear ( struct sset * set ) { const char * name , * next ; SSET_FOR_EACH_SAFE ( name , next , set ) { sset_delete ( set , SSET_NODE_FROM_NAME ( name ) ) ; } }
Removes all of the strings from 'set'.
Removes all of the strings from ' set ' .