diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-18 18:29:13 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-18 18:29:13 +0000 |
commit | 2fc96d4928baccbdf7d52eca57b967f4c5355d8e (patch) | |
tree | ee9076375b75ec179576a3a39c4b0bda56771048 /other/pnmcolormap.c | |
parent | b31e75a79a6f096f3462292fd48494035f0be0fe (diff) | |
download | netpbm-mirror-2fc96d4928baccbdf7d52eca57b967f4c5355d8e.tar.gz netpbm-mirror-2fc96d4928baccbdf7d52eca57b967f4c5355d8e.tar.xz netpbm-mirror-2fc96d4928baccbdf7d52eca57b967f4c5355d8e.zip |
Release 10.35.08
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@90 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pnmcolormap.c')
-rw-r--r-- | other/pnmcolormap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/other/pnmcolormap.c b/other/pnmcolormap.c index c4776001..1be54ef8 100644 --- a/other/pnmcolormap.c +++ b/other/pnmcolormap.c @@ -25,6 +25,7 @@ #include <math.h> +#include "pm_config.h" #include "pam.h" #include "pammap.h" #include "shhopt.h" @@ -166,10 +167,10 @@ parseCommandLine (int argc, char ** argv, } -typedef int qsort_comparison_fn(const void *, const void *); - /* A collation function to be used as argument to qsort() */ +#ifndef LITERAL_FN_DEF_MATCH static qsort_comparison_fn compareplane; +#endif static unsigned int compareplanePlane; /* This is a parameter to compareplane(). We use this global variable @@ -189,7 +190,9 @@ compareplane(const void * const arg1, +#ifndef LITERAL_FN_DEF_MATCH static qsort_comparison_fn sumcompare; +#endif static int sumcompare(const void * const b1, const void * const b2) { |