xref: /csrg-svn/usr.bin/pascal/libpc/SEED.c (revision 62096)
140865Sbostic /*-
2*62096Sbostic  * Copyright (c) 1979, 1993
3*62096Sbostic  *	The Regents of the University of California.  All rights reserved.
440865Sbostic  *
540865Sbostic  * %sccs.include.redist.c%
640865Sbostic  */
71700Smckusick 
840865Sbostic #ifndef lint
9*62096Sbostic static char sccsid[] = "@(#)SEED.c	8.1 (Berkeley) 06/06/93";
1040865Sbostic #endif /* not lint */
111700Smckusick 
122181Smckusic #include "h00vars.h"
131818Smckusic 
143031Smckusic long
SEED(value)151700Smckusick SEED(value)
162181Smckusic 	long value;
171700Smckusick {
182181Smckusic 	long tmp;
191700Smckusick 
202181Smckusic 	tmp = _seed;
212181Smckusic 	_seed = value;
221700Smckusick 	return tmp;
231700Smckusick }
24