From 8a60b352265a2a706ecf4d81b1132c0b2fd84958 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 14 Mar 2020 23:50:08 +0000 Subject: 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 --- editor/pnmnorm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editor') 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; } -- cgit 1.4.1