ports/net/oidentd/patches/patch-src_oidentd_util_c

11 lines
351 B
Text

--- src/oidentd_util.c.orig Sun Apr 23 17:41:44 2017
+++ src/oidentd_util.c Sun Apr 23 17:41:53 2017
@@ -75,7 +75,7 @@ int random_seed(void) {
** PRNG functions on systems whose libraries provide them.)
*/
-inline int randval(int i) {
+int randval(int i) {
/* Per _Numerical Recipes in C_: */
return ((double) i * rand() / (RAND_MAX+1.0));
}