diff options
| author | deraadt <> | 2014-12-16 20:42:36 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-12-16 20:42:36 +0000 |
| commit | e67ae6690d33278dbeba862b85bfb365b1a1d24a (patch) | |
| tree | 143c96fcbb7be727bc9bfd472beab439d21d7bfa /src/lib/libc/stdlib/random.c | |
| parent | cdd72872cd735931d7bdf5f3614043a6fd4d6a93 (diff) | |
| download | openbsd-e67ae6690d33278dbeba862b85bfb365b1a1d24a.tar.gz openbsd-e67ae6690d33278dbeba862b85bfb365b1a1d24a.tar.bz2 openbsd-e67ae6690d33278dbeba862b85bfb365b1a1d24a.zip | |
warn for correct symbol
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 375bfbd0e6..0838d0bb35 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.26 2014/12/09 08:00:53 deraadt Exp $ */ | 1 | /* $OpenBSD: random.c,v 1.27 2014/12/16 20:42:36 deraadt 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. |
| @@ -417,6 +417,6 @@ random(void) | |||
| 417 | } | 417 | } |
| 418 | 418 | ||
| 419 | #if defined(APIWARN) | 419 | #if defined(APIWARN) |
| 420 | __warn_references(rand, | 420 | __warn_references(random, |
| 421 | "warning: random() may return determinstic values, is that what you want?"); | 421 | "warning: random() may return determinstic values, is that what you want?"); |
| 422 | #endif | 422 | #endif |
