diff options
author | 2014-12-16 20:42:36 +0000 | |
---|---|---|
committer | 2014-12-16 20:42:36 +0000 | |
commit | 0e6cb3cf7bb24f0a708779ffaceef921ec646abc (patch) | |
tree | b077c3e2f5175899a2dbc639d9f2423225b52ed8 /lib/libc/stdlib/random.c | |
parent | must include lock.h if you want to play with locks (diff) | |
download | wireguard-openbsd-0e6cb3cf7bb24f0a708779ffaceef921ec646abc.tar.xz wireguard-openbsd-0e6cb3cf7bb24f0a708779ffaceef921ec646abc.zip |
warn for correct symbol
Diffstat (limited to 'lib/libc/stdlib/random.c')
-rw-r--r-- | lib/libc/stdlib/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c index 375bfbd0e67..0838d0bb359 100644 --- a/lib/libc/stdlib/random.c +++ b/lib/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.26 2014/12/09 08:00:53 deraadt Exp $ */ +/* $OpenBSD: random.c,v 1.27 2014/12/16 20:42:36 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. @@ -417,6 +417,6 @@ random(void) } #if defined(APIWARN) -__warn_references(rand, +__warn_references(random, "warning: random() may return determinstic values, is that what you want?"); #endif |