fixed stupid mistakes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1188 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-01-26 19:32:29 +00:00
parent 3d7c57acdb
commit 4cbc2ad669

View File

@@ -173,9 +173,7 @@ sigALRM(int sig)
#endif
#endif
#ifdef HAVE_RANDOM
void
static void
des_not_rand_data(unsigned char *data, int size)
{
int i;
@@ -186,12 +184,11 @@ des_not_rand_data(unsigned char *data, int size)
data[i] ^= random() % 0x100;
}
#endif
#if !defined(WIN32) && !defined(__EMX__) && !defined(__OS2__)
#ifndef HAVE_SETITIMER
void pacemaker(struct timeval *tv)
static void
pacemaker(struct timeval *tv)
{
fd_set fds;
pid_t pid;
@@ -281,7 +278,7 @@ des_rand_data(unsigned char *data, int size)
void
des_rand_data(unsigned char *p, int s)
{
return des_not_rand_data (p, s);
des_not_rand_data (p, s);
}
#endif