diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-21 10:22:40 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-21 10:22:54 -0700 |
commit | af95b7d55c5bf415fe98fdf5ea863fc3cd6b2da5 (patch) | |
tree | 371dd4e8c09721b06575f96e31e9f8c487d85916 | |
parent | 08f320d4848ef57b0726abd93613f52df6ac0a99 (diff) | |
download | gzip-af95b7d55c5bf415fe98fdf5ea863fc3cd6b2da5.tar.gz |
* deflate.c: Export nice_match to assembler.
(static_unless_ASMV): New macro.
(nice_match): Use it.
-rw-r--r-- | deflate.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -226,10 +226,17 @@ typedef struct config { ush max_chain; } config; +#ifdef ASMV +# define static_unless_ASMV +#else +# define static_unless_ASMV static +#endif + #ifdef FULL_SEARCH # define nice_match MAX_MATCH #else - static int nice_match; /* Stop searching when current match exceeds this */ + /* Stop searching when current match exceeds this */ + static_unless_ASMV int nice_match; #endif local config configuration_table[10] = { |