]> granicus.if.org Git - graphviz/commitdiff
neatogen: remove unused 'rk_long'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 6 May 2022 01:26:30 +0000 (18:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 12 May 2022 01:01:02 +0000 (18:01 -0700)
lib/neatogen/randomkit.c
lib/neatogen/randomkit.h

index 1a76e4f93db628f03272cd2c456b5408dedcc551..848879c2714621aca1b5491b74c9eaccad45df62 100644 (file)
@@ -142,12 +142,6 @@ rk_random(rk_state *state)
     return y;
 }
 
-long
-rk_long(rk_state *state)
-{
-    return rk_ulong(state) >> 1;
-}
-
 unsigned long
 rk_ulong(rk_state *state)
 {
index de0e0d0664ef14144e3fffd2191cefd52987de5a..3ffe4a301441ff50b96a29cb8ea454c0ea98c3c4 100644 (file)
@@ -120,11 +120,6 @@ extern void rk_seed(unsigned long seed, rk_state *state);
  */
 extern unsigned long rk_random(rk_state *state);
 
-/*
- * Returns a random long between 0 and LONG_MAX inclusive
- */
-extern long rk_long(rk_state *state);
-
 /*
  * Returns a random unsigned long between 0 and ULONG_MAX inclusive
  */