diff options
Diffstat (limited to 'src/lib/libc/stdlib/rand.c')
-rw-r--r-- | src/lib/libc/stdlib/rand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/rand.c b/src/lib/libc/stdlib/rand.c index f4a8d20afa..97964f6ef9 100644 --- a/src/lib/libc/stdlib/rand.c +++ b/src/lib/libc/stdlib/rand.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rand.c,v 1.17 2016/10/22 19:19:34 tb Exp $ */ | 1 | /* $OpenBSD: rand.c,v 1.18 2017/11/28 06:55:49 tb Exp $ */ |
2 | /*- | 2 | /*- |
3 | * Copyright (c) 1990 The Regents of the University of California. | 3 | * Copyright (c) 1990 The Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -44,7 +44,7 @@ DEF_WEAK(rand_r); | |||
44 | 44 | ||
45 | #if defined(APIWARN) | 45 | #if defined(APIWARN) |
46 | __warn_references(rand_r, | 46 | __warn_references(rand_r, |
47 | "warning: rand_r() is not random, it is deterministic."); | 47 | "rand_r() is not random, it is deterministic."); |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | int | 50 | int |
@@ -57,7 +57,7 @@ rand(void) | |||
57 | 57 | ||
58 | #if defined(APIWARN) | 58 | #if defined(APIWARN) |
59 | __warn_references(rand, | 59 | __warn_references(rand, |
60 | "warning: rand() may return deterministic values, is that what you want?"); | 60 | "rand() may return deterministic values, is that what you want?"); |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | void | 63 | void |