diff options
author | Stefan Bellon <[email protected]> | 2003-12-28 14:12:16 +0000 |
---|---|---|
committer | Stefan Bellon <[email protected]> | 2003-12-28 14:12:16 +0000 |
commit | 02ae08d6ef94c461c7aa82f50fb0c111cc8ead82 (patch) | |
tree | 3cb13daf0f20df967563036646b40836d412518e /tools/gpgsplit.c | |
parent | * keyserver.c (strip_leading_space, get_arg): New. (diff) | |
download | gnupg-02ae08d6ef94c461c7aa82f50fb0c111cc8ead82.tar.gz gnupg-02ae08d6ef94c461c7aa82f50fb0c111cc8ead82.zip |
cleaned up RISC OS code and removed lots of unnecessary stuff
Diffstat (limited to 'tools/gpgsplit.c')
-rw-r--r-- | tools/gpgsplit.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index 8d3349eec..856e9aa29 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -37,10 +37,9 @@ #ifdef HAVE_BZIP2 #include <bzlib.h> #endif /* HAVE_BZIP2 */ -#ifdef __riscos__ +#if defined(__riscos__) && defined(USE_ZLIBRISCOS) # include "zlib-riscos.h" -# include <unixlib/local.h> -#endif /* __riscos__ */ +#endif #define INCLUDED_BY_MAIN_MODULE 1 #include "../g10/packet.h" @@ -114,10 +113,6 @@ main( int argc, char **argv ) { ARGPARSE_ARGS pargs; -#ifdef __riscos__ - /* set global RISC OS specific properties */ - __riscosify_control = __RISCOSIFY_NO_PROCESS; -#endif /* __riscos__ */ #ifdef HAVE_DOSISH_SYSTEM setmode( fileno(stdin), O_BINARY ); setmode( fileno(stdout), O_BINARY ); @@ -533,7 +528,7 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen, unsigned char *p; const char *outname = create_filename (pkttype); -#ifdef __riscos__ +#if defined(__riscos__) && defined(USE_ZLIBRISCOS) static int initialized = 0; if (!initialized) |