diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-09-28 12:07:14 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-09-28 16:53:57 +0000 |
commit | 6adebd2b2b4cf1b78d6b545fcdf798164d7bbd9e (patch) | |
tree | 091df8ad00c7de11fec71b8f7282c77918663f33 | |
parent | Resolves: tdf#102343 unable to undo stylesheet changes in master... (diff) | |
download | core-6adebd2b2b4cf1b78d6b545fcdf798164d7bbd9e.tar.gz core-6adebd2b2b4cf1b78d6b545fcdf798164d7bbd9e.zip |
remove define 'local'
Change-Id: I7b8ff60a25a5b835b7a2893befeb82b424bbcd2c
Reviewed-on: https://gerrit.libreoffice.org/29354
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r-- | hwpfilter/source/hgzip.cxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/hwpfilter/source/hgzip.cxx b/hwpfilter/source/hgzip.cxx index 53ec16baf409..81dda52e60f1 100644 --- a/hwpfilter/source/hgzip.cxx +++ b/hwpfilter/source/hgzip.cxx @@ -26,18 +26,14 @@ #include "hgzip.h" #include "hstream.hxx" -#ifndef local -# define local static -#endif - #define Z_BUFSIZE (1024 * 4) #define ALLOC(size) malloc(size) #define TRYFREE(p) {if (p) free(p);} -local int get_byte(gz_stream * s); -local int destroy(gz_stream * s); -local uLong getLong(gz_stream * s); +static int get_byte(gz_stream * s); +static int destroy(gz_stream * s); +static uLong getLong(gz_stream * s); /* =========================================================================== Opens a gzip (.gz) file for reading or writing. The mode parameter @@ -99,7 +95,7 @@ gz_stream *gz_open(HStream & _stream) for end of file. IN assertion: the stream s has been successfully opened for reading. */ -local int get_byte(gz_stream * s) +static int get_byte(gz_stream * s) { if (s->z_eof) return EOF; @@ -124,7 +120,7 @@ local int get_byte(gz_stream * s) * Cleanup then free the given gz_stream. Return a zlib error code. * Try freeing in the reverse order of allocations. */ -local int destroy(gz_stream * s) +static int destroy(gz_stream * s) { int err = Z_OK; @@ -258,7 +254,7 @@ int gz_flush(gz_stream * file, int flush) /* =========================================================================== Reads a long in LSB order from the given gz_stream. Sets */ -local uLong getLong(gz_stream * s) +static uLong getLong(gz_stream * s) { uLong x = (unsigned char) get_byte(s); |