1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* bftest.c, crlf.c, mk-tdata.c, mpicalc.c, shmtest.c: Edit all

preprocessor instructions to remove whitespace before the '#'. This is not
required by C89, but there are some compilers out there that don't like
it.
This commit is contained in:
David Shaw 2003-05-24 18:38:35 +00:00
parent 29e6411a7b
commit ea35e3b65f
6 changed files with 46 additions and 45 deletions

View file

@ -17,7 +17,7 @@
#ifndef RAND_MAX /* for SunOS */
#define RAND_MAX 32767
#define RAND_MAX 32767
#endif
int
@ -31,13 +31,12 @@ main(int argc, char **argv)
srand(getpid());
for(i=0; !limit || i < limit; i++ ) {
#ifdef HAVE_RAND
#ifdef HAVE_RAND
c = ((unsigned)(1 + (int) (256.0*rand()/(RAND_MAX+1.0)))-1);
#else
#else
c = ((unsigned)(1 + (int) (256.0*random()/(RAND_MAX+1.0)))-1);
#endif
#endif
putchar(c);
}
return 0;
}