summaryrefslogtreecommitdiff
path: root/random
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-12 12:45:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-12 12:45:00 +0000
commit1772be3b2f165eeac99f68f5b5b9bd8f4cb98535 (patch)
tree89e3d8b43c8bec4664177f772ed4dbc92281d3c7 /random
parent826e601262932bc5c11ffb011716058334f7022a (diff)
downloadlibnice-1772be3b2f165eeac99f68f5b5b9bd8f4cb98535.tar.gz
random/: add unused qualifier to various parameters
darcs-hash:20070212124559-c9803-43ea7475794c09ce647c5c414a0ecba6b15977d3.gz
Diffstat (limited to 'random')
-rw-r--r--random/random-glib.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/random/random-glib.c b/random/random-glib.c
index 314fc17..b9ec178 100644
--- a/random/random-glib.c
+++ b/random/random-glib.c
@@ -2,13 +2,19 @@
#include "random-glib.h"
static void
-rng_seed (NiceRNG *rng, guint32 seed)
+rng_seed (
+ G_GNUC_UNUSED
+ NiceRNG *rng, guint32 seed)
{
g_random_set_seed (seed);
}
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;
@@ -17,7 +23,11 @@ rng_generate_bytes (NiceRNG *rng, guint len, gchar *buf)
}
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);
}