Browse Source

warn for correct symbol

OPENBSD_5_7
deraadt 10 years ago
parent
commit
eb5fb39e0c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/random.c

+ 2
- 2
src/lib/libc/stdlib/random.c View File

@ -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

Loading…
Cancel
Save