13016Swollman/* 23016Swollman * Copyright (c) 1993 Martin Birgmeier 33016Swollman * All rights reserved. 43016Swollman * 53016Swollman * You may redistribute unmodified or modified versions of this source 63016Swollman * code provided that the above copyright notice and this and the 73016Swollman * following conditions are retained. 83016Swollman * 93016Swollman * This software is provided ``as is'', and comes with no warranties 103016Swollman * of any kind. I shall in no event be liable for anything that happens 113016Swollman * to anyone/anything when using this software. 123016Swollman */ 133016Swollman 1492986Sobrien#include <sys/cdefs.h> 1592986Sobrien__FBSDID("$FreeBSD$"); 1692986Sobrien 173016Swollman#include "rand48.h" 183016Swollman 193016Swollmanextern unsigned short _rand48_seed[3]; 203016Swollman 213016Swollmandouble 223016Swollmandrand48(void) 233016Swollman{ 243016Swollman return erand48(_rand48_seed); 253016Swollman} 26