diff options
author | David Shaw <[email protected]> | 2003-05-24 18:38:35 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-05-24 18:38:35 +0000 |
commit | ea35e3b65f5e741ce2feebd53831681f9e807884 (patch) | |
tree | 43d449ca34f21b926a5233000897bc3cc5d8bfcd /tools/bftest.c | |
parent | * bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c, (diff) | |
download | gnupg-ea35e3b65f5e741ce2feebd53831681f9e807884.tar.gz gnupg-ea35e3b65f5e741ce2feebd53831681f9e807884.zip |
* 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.
Diffstat (limited to 'tools/bftest.c')
-rw-r--r-- | tools/bftest.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/tools/bftest.c b/tools/bftest.c index b15f4a1da..67a80e33d 100644 --- a/tools/bftest.c +++ b/tools/bftest.c @@ -23,8 +23,8 @@ #include <stdlib.h> #include <string.h> #ifdef HAVE_DOSISH_SYSTEM - #include <io.h> - #include <fcntl.h> +#include <io.h> +#include <fcntl.h> #endif #include "util.h" @@ -47,15 +47,15 @@ strusage( int level ) static void i18n_init(void) { - #ifdef ENABLE_NLS - #ifdef HAVE_LC_MESSAGES - setlocale( LC_MESSAGES, "" ); - #else - setlocale( LC_ALL, "" ); - #endif - bindtextdomain( PACKAGE, G10_LOCALEDIR ); - textdomain( PACKAGE ); - #endif +#ifdef ENABLE_NLS +#ifdef HAVE_LC_MESSAGES + setlocale( LC_MESSAGES, "" ); +#else + setlocale( LC_ALL, "" ); +#endif + bindtextdomain( PACKAGE, G10_LOCALEDIR ); + textdomain( PACKAGE ); +#endif } int @@ -67,10 +67,10 @@ main(int argc, char **argv) int n, size=4096; int algo; - #ifdef HAVE_DOSISH_SYSTEM +#ifdef HAVE_DOSISH_SYSTEM setmode( fileno(stdin), O_BINARY ); setmode( fileno(stdout), O_BINARY ); - #endif +#endif i18n_init(); if( argc > 1 && !strcmp(argv[1], "-e") ) { @@ -109,4 +109,3 @@ main(int argc, char **argv) cipher_close(hd); return 0; } - |