1 /* $NetBSD: myrand.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $ */ 2 3 #ifndef _MYRAND_H_INCLUDED_ 4 #define _MYRAND_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* myrand 3h 9 /* SUMMARY 10 /* rand wrapper 11 /* SYNOPSIS 12 /* #include <myrand.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * External interface. 18 */ 19 #ifndef RAND_MAX 20 #define RAND_MAX 0x7fffffff 21 #endif 22 23 extern void mysrand(int); 24 extern int myrand(void); 25 26 /* LICENSE 27 /* .ad 28 /* .fi 29 /* The Secure Mailer license must be distributed with this software. 30 /* AUTHOR(S) 31 /* Wietse Venema 32 /* IBM T.J. Watson Research 33 /* P.O. Box 704 34 /* Yorktown Heights, NY 10598, USA 35 /*--*/ 36 37 #endif 38