aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
committerDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
commit3a23c4230bc61f905a316c2df9116d871fd9029f (patch)
tree6e913e8b23f538fb0bf19e213568a140f077b54e /g10/misc.c
parent* bftest.c, crlf.c, mk-tdata.c, mpicalc.c, shmtest.c: Edit all (diff)
downloadgnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.tar.gz
gnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.zip
* 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.
Diffstat (limited to '')
-rw-r--r--g10/misc.c20
1 files changed, 10 insertions, 10 deletions
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 <unistd.h>
#include <errno.h>
#if defined(__linux__) && defined(__alpha__) && __GLIBC__ < 2
- #include <asm/sysinfo.h>
- #include <asm/unistd.h>
+#include <asm/sysinfo.h>
+#include <asm/unistd.h>
#endif
#ifdef HAVE_SETRLIMIT
- #include <time.h>
- #include <sys/time.h>
- #include <sys/resource.h>
+#include <time.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#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
}