diff options
author | tb <> | 2017-11-28 06:55:49 +0000 |
---|---|---|
committer | tb <> | 2017-11-28 06:55:49 +0000 |
commit | 2123407555a8a039a48a3bbe8fa9edbe43401803 (patch) | |
tree | 896abe9085168c02455508c6273605b4ac8a6e3c /src/lib/libc/stdlib/random.c | |
parent | 39d54f53c5193a75023fc870449caf64192e3183 (diff) | |
download | openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.tar.gz openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.tar.bz2 openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.zip |
GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections
with "warning: " since 2003, so the messages themselves need not
contain the prefix anymore.
From Scott Cheloha
ok jca, deraadt
Diffstat (limited to 'src/lib/libc/stdlib/random.c')
-rw-r--r-- | src/lib/libc/stdlib/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c index 41d5f64b58..62a0c24bdb 100644 --- a/src/lib/libc/stdlib/random.c +++ b/src/lib/libc/stdlib/random.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: random.c,v 1.30 2016/04/05 04:29:21 guenther Exp $ */ | 1 | /* $OpenBSD: random.c,v 1.31 2017/11/28 06:55:49 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1983 Regents of the University of California. | 3 | * Copyright (c) 1983 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -415,5 +415,5 @@ random(void) | |||
415 | 415 | ||
416 | #if defined(APIWARN) | 416 | #if defined(APIWARN) |
417 | __warn_references(random, | 417 | __warn_references(random, |
418 | "warning: random() may return deterministic values, is that what you want?"); | 418 | "random() may return deterministic values, is that what you want?"); |
419 | #endif | 419 | #endif |