about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-03-14 23:50:08 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-03-14 23:50:08 +0000
commit8a60b352265a2a706ecf4d81b1132c0b2fd84958 (patch)
tree4a06c554ad25b25e88222da5a4d48974228f52e8 /editor
parent5138724173ccb103d7b02427c87317d4bc11b5b7 (diff)
downloadnetpbm-mirror-8a60b352265a2a706ecf4d81b1132c0b2fd84958.tar.gz
netpbm-mirror-8a60b352265a2a706ecf4d81b1132c0b2fd84958.tar.xz
netpbm-mirror-8a60b352265a2a706ecf4d81b1132c0b2fd84958.zip
Remove use of non-ISO-C feature
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3745 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/pnmnorm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/pnmnorm.c b/editor/pnmnorm.c
index 2f9a6b20..e0fe0e35 100644
--- a/editor/pnmnorm.c
+++ b/editor/pnmnorm.c
@@ -274,7 +274,8 @@ minimumValue(const unsigned int * const hist,
             foundOne = true;
         else {
             if (i == highest)
-                pm_error("INTERNAL ERROR in '%s'.  No pixels", __FUNCTION__);
+                pm_error("INTERNAL ERROR in function 'minimumValue'.  "
+                         "No pixels");
             else
                 ++i;
         }
@@ -296,7 +297,8 @@ maximumValue(const unsigned int * const hist,
             foundOne = true;
         else {
             if (i == 0)
-                pm_error("INTERNAL ERROR in '%s'.  No pixels", __FUNCTION__);
+                pm_error("INTERNAL ERROR in function 'maximumValue'.  "
+                         "No pixels");
             else
                 --i;
         }