From 3a23c4230bc61f905a316c2df9116d871fd9029f Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 24 May 2003 21:50:33 +0000 Subject: * armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c, getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, mainproc.c, parse-packet.c, signal.c, textfilter.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. --- g10/misc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'g10/misc.c') diff --git a/g10/misc.c b/g10/misc.c index 58d6bce5b..44deb5737 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -25,13 +25,13 @@ #include #include #if defined(__linux__) && defined(__alpha__) && __GLIBC__ < 2 - #include - #include +#include +#include #endif #ifdef HAVE_SETRLIMIT - #include - #include - #include +#include +#include +#include #endif #include "util.h" #include "main.h" @@ -84,10 +84,10 @@ trap_unaligned(void) int disable_core_dumps() { - #ifdef HAVE_DOSISH_SYSTEM +#ifdef HAVE_DOSISH_SYSTEM return 0; - #else - #ifdef HAVE_SETRLIMIT +#else +#ifdef HAVE_SETRLIMIT struct rlimit limit; limit.rlim_cur = 0; @@ -96,9 +96,9 @@ disable_core_dumps() return 0; if( errno != EINVAL && errno != ENOSYS ) log_fatal(_("can't disable core dumps: %s\n"), strerror(errno) ); - #endif +#endif return 1; - #endif +#endif } -- cgit