Commit 1772be3b authored by Dafydd Harries's avatar Dafydd Harries

random/: add unused qualifier to various parameters

darcs-hash:20070212124559-c9803-43ea7475794c09ce647c5c414a0ecba6b15977d3.gz
parent 826e6012
...@@ -2,13 +2,19 @@ ...@@ -2,13 +2,19 @@
#include "random-glib.h" #include "random-glib.h"
static void static void
rng_seed (NiceRNG *rng, guint32 seed) rng_seed (
G_GNUC_UNUSED
NiceRNG *rng, guint32 seed)
{ {
g_random_set_seed (seed); g_random_set_seed (seed);
} }
static void static void
rng_generate_bytes (NiceRNG *rng, guint len, gchar *buf) rng_generate_bytes (
G_GNUC_UNUSED
NiceRNG *rng,
guint len,
gchar *buf)
{ {
guint i; guint i;
...@@ -17,7 +23,11 @@ rng_generate_bytes (NiceRNG *rng, guint len, gchar *buf) ...@@ -17,7 +23,11 @@ rng_generate_bytes (NiceRNG *rng, guint len, gchar *buf)
} }
static guint static guint
rng_generate_int (NiceRNG *rng, guint low, guint high) rng_generate_int (
G_GNUC_UNUSED
NiceRNG *rng,
guint low,
guint high)
{ {
return g_random_int_range (low, high); return g_random_int_range (low, high);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment