From 0b933ae77cb34ff0b6feb4f6993d5048bffe2564 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 19 Mar 1999 23:17:13 +0000 Subject: [PATCH] (des_rand_data): move declaration to get rid of warning git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5639 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rnd_keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/des/rnd_keys.c b/lib/des/rnd_keys.c index 237fa9855..33b1154aa 100644 --- a/lib/des/rnd_keys.c +++ b/lib/des/rnd_keys.c @@ -253,9 +253,9 @@ des_rand_data(unsigned char *data, int size) { struct itimerval tv, otv; RETSIGTYPE (*osa)(int); - RETSIGTYPE (*ochld)(int); int i, j; -#ifndef HAVE_SETITIMER +#ifndef HAVE_SETITIMER + RETSIGTYPE (*ochld)(int); pid_t pid; #endif char *rnd_devices[] = {"/dev/random",