projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d64377
)
rand: do not surround function declarations by #ifdef
author
Masahiro Yamada
<yamada.m@jp.panasonic.com>
Fri, 18 Apr 2014 10:09:47 +0000
(19:09 +0900)
committer
Tom Rini
<trini@ti.com>
Mon, 12 May 2014 19:19:46 +0000
(15:19 -0400)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
include/common.h
patch
|
blob
|
history
diff --git
a/include/common.h
b/include/common.h
index 5fb0bb2d3d4db5c462f0c7e961b789417ed1ca24..2adf5f90b8ce9e7eae556a96a9280252eb81acfc 100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-820,12
+820,10
@@
char * strmhz(char *buf, unsigned long hz);
#include <u-boot/crc.h>
/* lib/rand.c */
-#if defined(CONFIG_LIB_RAND) || defined(CONFIG_LIB_HW_RAND)
#define RAND_MAX -1U
void srand(unsigned int seed);
unsigned int rand(void);
unsigned int rand_r(unsigned int *seedp);
-#endif
/* common/console.c */
int console_init_f(void); /* Before relocation; uses the serial stuff */