diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-26 21:44:03 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-26 21:44:03 +0000 |
commit | d3a5144876c052c721c19f85f8275174630f9461 (patch) | |
tree | c80c9a1bcf36cc4f7a6d41e8526a1bc0ba110bfd /editor/pammixinterlace.c | |
parent | 144f2c5647e0139208e4da9b7ae900281b0f03d1 (diff) | |
download | netpbm-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 'editor/pammixinterlace.c')
-rw-r--r-- | editor/pammixinterlace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/pammixinterlace.c b/editor/pammixinterlace.c index 579a8092..f22563f6 100644 --- a/editor/pammixinterlace.c +++ b/editor/pammixinterlace.c @@ -14,6 +14,8 @@ ******************************************************************************/ +#define _BSD_SOURCE /* Make sure strcaseeq() is in nstring.h */ + #include <string.h> #include "mallocvar.h" @@ -206,7 +208,7 @@ parseCommandLine(int argc, char ** argv, unsigned int i; cmdlineP->filterP = NULL; for (i = 0; i < sizeof filters / sizeof(struct filter); ++i) { - if (STRCASEEQ(filterName, filters[i].name)) { + if (strcaseeq(filterName, filters[i].name)) { cmdlineP->filterP = &filters[i]; break; } |