about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-05-10 02:49:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-05-10 02:49:13 +0000
commit75aaab85f92320ceac421182154f91503388e86e (patch)
tree7c240aae62678f39331e7f91632a8e3ffcdd5f0a /other
parentea150b72628d2391a1e49c42130ee35e100c1881 (diff)
downloadnetpbm-mirror-75aaab85f92320ceac421182154f91503388e86e.tar.gz
netpbm-mirror-75aaab85f92320ceac421182154f91503388e86e.tar.xz
netpbm-mirror-75aaab85f92320ceac421182154f91503388e86e.zip
Replace STREQ() with streq()
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@295 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/pamx/pamx.c2
-rw-r--r--other/pnmcolormap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/other/pamx/pamx.c b/other/pamx/pamx.c
index c6503d5e..49aa07c9 100644
--- a/other/pamx/pamx.c
+++ b/other/pamx/pamx.c
@@ -298,7 +298,7 @@ determineTitle(struct cmdlineInfo const cmdline,
     if (cmdline.title)
         title = strdup(cmdline.title);
     else {
-        if (STREQ(cmdline.inputFileName, "-"))
+        if (streq(cmdline.inputFileName, "-"))
             title = NULL;
         else {
             title = pm_basename(cmdline.inputFileName);
diff --git a/other/pnmcolormap.c b/other/pnmcolormap.c
index 1be54ef8..4faf5ab6 100644
--- a/other/pnmcolormap.c
+++ b/other/pnmcolormap.c
@@ -631,7 +631,7 @@ validateCompatibleImage(struct pam * const inpamP,
     if (inpamP->format != firstPamP->format)
         pm_error("Image %u format (%d) is not the same as Image 0 (%d)",
                  imageSeq, inpamP->format, firstPamP->format);
-    if (!STREQ(inpamP->tuple_type, firstPamP->tuple_type))
+    if (!streq(inpamP->tuple_type, firstPamP->tuple_type))
         pm_error("Image %u tuple type (%s) is not the same as Image 0 (%s)",
                  imageSeq, inpamP->tuple_type, firstPamP->tuple_type);
 }