about summary refs log tree commit diff
path: root/converter/ppm/xvminitoppm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-26 21:44:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-26 21:44:03 +0000
commitd3a5144876c052c721c19f85f8275174630f9461 (patch)
treec80c9a1bcf36cc4f7a6d41e8526a1bc0ba110bfd /converter/ppm/xvminitoppm.c
parent144f2c5647e0139208e4da9b7ae900281b0f03d1 (diff)
downloadnetpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.tar.gz
netpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.tar.xz
netpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.zip
Replace macros with inline functions
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@386 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/xvminitoppm.c')
-rw-r--r--converter/ppm/xvminitoppm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ppm/xvminitoppm.c b/converter/ppm/xvminitoppm.c
index 8cea1f9d..e5bdac7d 100644
--- a/converter/ppm/xvminitoppm.c
+++ b/converter/ppm/xvminitoppm.c
@@ -109,16 +109,16 @@ readXvHeader(FILE *         const ifP,
     
     getline(ifP, buf, sizeof(buf));
 
-    if (!STRNEQ(buf, "P7 332", 6))
+    if (!strneq(buf, "P7 332", 6))
         pm_error("Input is not a XV thumbnail picture.  It does not "
                  "begin with the characters 'P7 332'.");
 
     endOfComments = FALSE;
     while (!endOfComments) {
         getline(ifP, buf, sizeof(buf));
-        if (STRNEQ(buf, "#END_OF_COMMENTS", 16))
+        if (strneq(buf, "#END_OF_COMMENTS", 16))
             endOfComments = TRUE;
-        else if (STRNEQ(buf, "#BUILTIN", 8))
+        else if (strneq(buf, "#BUILTIN", 8))
             pm_error("This program does not know how to "
                      "convert builtin XV thumbnail pictures");
     }