4.3BSD/usr/contrib/spms/src/lib/libslist/src/slsrewind.c

Compare this file to the similar file:
Show the results in this format:

/* $Header$ */

/*
 * Author: Peter J. Nicklin
 */

/*
 * slsrewind() resets the current key pointer to the first key in list
 * slslist.
 */
#include "slslist.h"

void
slsrewind(slslist)
	SLSLIST *slslist;		/* pointer to list head block */
{
	slslist->curblk = slslist->head;
}