Rewrote the random_rand() pseudo random number generator to use the libc rand() function instead
This commit is contained in:
parent
585620c102
commit
13a3029435
2 changed files with 11 additions and 30 deletions
|
@ -28,14 +28,16 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: rand.h,v 1.4 2007/09/04 08:48:54 bg- Exp $
|
||||
* @(#)$Id: rand.h,v 1.5 2009/02/11 11:09:59 adamdunkels Exp $
|
||||
*/
|
||||
/* -*- C -*- */
|
||||
/* @(#)$Id: rand.h,v 1.4 2007/09/04 08:48:54 bg- Exp $ */
|
||||
/* @(#)$Id: rand.h,v 1.5 2009/02/11 11:09:59 adamdunkels Exp $ */
|
||||
|
||||
#ifndef RAND_H
|
||||
#define RAND_H
|
||||
|
||||
#include "sys/cc.h"
|
||||
|
||||
#undef RAND_MAX
|
||||
#define RAND_MAX 0x7fff
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue