usr.bin/make/suff.c
/*-
 *-----------------------------------------------------------------------
 * Suff_ClearSuffixes --
 *	This is gross. Nuke the list of suffixes but keep all transformation
 *	rules around. The transformation graph is destroyed in this process,
 *	but we leave the list of rules so when a new graph is formed the rules
 *	will remain.
 *	This function is called from the parse module when a
 *	.SUFFIXES:\n line is encountered.
 *
 * Results:
 *	none
 *
 * Side Effects:
 *	the sufflist and its graph nodes are destroyed
 *-----------------------------------------------------------------------
 */
Suff_ClearSuffixes
This is gross. Nuke the list of suffixes but keep all transformation
rules around. The transformation graph is destroyed in this process,
but we leave the list of rules so when a new graph is formed the rules
will remain.
This function is called from the parse module when a
.SUFFIXES:\n line is encountered.

none

Side Effects:
the sufflist and its graph nodes are destroyed
Suff_ClearSuffixes This is gross . Nuke the list of suffixes but keep all transformation rules around . The transformation graph is destroyed in this process but we leave the list of rules so when a new graph is formed the rules will remain . This function is called from the parse module when a . SUFFIXES : \ n line is encountered . none Side Effects : the sufflist and its graph nodes are destroyed
void
Suff_ClearSuffixes ()
{
    Lst_Concat (suffClean, sufflist, LST_CONCLINK);
    sufflist = Lst_Init(FALSE);
    sNum = 0;
    suffNull = emptySuff;
}
void Suff_ClearSuffixes ( ) { Lst_Concat ( suffClean , sufflist , LST_CONCLINK ) ; sufflist = Lst_Init ( FALSE ) ; sNum = 0 ; suffNull = emptySuff ; }
Suff_ClearSuffixes
      This is gross.
Suff_ClearSuffixes This is gross .