blob: ae88911e6429bf0238c54fb99d13a152dd4f5c35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.3 2015/12/29 23:34:43 dholland Exp $
Avoid symbol name conflict with random().
XXX: should not be using the implementation namespace.
--- interp/random.h.orig 1999-08-31 18:19:18.000000000 +0200
+++ interp/random.h
@@ -18,7 +18,7 @@ extern float strand();
/* strand(); */
/* returns a randomly distributed 'random' real between 0 & 2^31 -1 */
-extern unsigned random();
+extern unsigned __random();
/* random(range); */
/* returns a 'randomly' chosen integer between 0 and 'range' - 1 */
|