summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2014-12-16 20:42:36 +0000
committerderaadt <>2014-12-16 20:42:36 +0000
commit5aa651ea1f4fe51c284c233c6f00b23db2e740e2 (patch)
tree143c96fcbb7be727bc9bfd472beab439d21d7bfa /src
parenta63238a908c7339f2847ad8ec606486c57f77c58 (diff)
downloadopenbsd-5aa651ea1f4fe51c284c233c6f00b23db2e740e2.tar.gz
openbsd-5aa651ea1f4fe51c284c233c6f00b23db2e740e2.tar.bz2
openbsd-5aa651ea1f4fe51c284c233c6f00b23db2e740e2.zip
warn for correct symbol
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/random.c4
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