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

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

/* $Header$ */

/*
 * Author: Peter J. Nicklin
 */

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

void
slrewind(slist)
	SLIST *slist;			/* pointer to list head block */
{
	slist->curblk = slist->head;
}