xref: /csrg-svn/usr.bin/pascal/libpc/SEED.c (revision 40865)
1*40865Sbostic /*-
2*40865Sbostic  * Copyright (c) 1979 The Regents of the University of California.
3*40865Sbostic  * All rights reserved.
4*40865Sbostic  *
5*40865Sbostic  * %sccs.include.redist.c%
6*40865Sbostic  */
71700Smckusick 
8*40865Sbostic #ifndef lint
9*40865Sbostic static char sccsid[] = "@(#)SEED.c	1.6 (Berkeley) 04/09/90";
10*40865Sbostic #endif /* not lint */
111700Smckusick 
122181Smckusic #include "h00vars.h"
131818Smckusic 
143031Smckusic long
151700Smckusick SEED(value)
162181Smckusic 	long value;
171700Smckusick {
182181Smckusic 	long tmp;
191700Smckusick 
202181Smckusic 	tmp = _seed;
212181Smckusic 	_seed = value;
221700Smckusick 	return tmp;
231700Smckusick }
24