cleaned up the mess I left behind
[fw/sdcc] / as / mcs51 / assym.c
index 3bc66141a988b0c461ecf6b163d01024fff75fc8..6f504deab5af9224f8fb256d9535ddf33f52daf9 100644 (file)
@@ -27,6 +27,7 @@
 #include <alloc.h>
 #endif
 #include "asm.h"
+#include "strcmpi.h"
 
 /*)Module      assym.c
  *
@@ -194,7 +195,7 @@ char *id;
        h = hash(id);
        mp = mnehash[h];
        while (mp) {
-               if (strcmpi(id, mp->m_id) == 0) /* JLH: case insensitive */
+               if (as_strcmpi(id, mp->m_id) == 0)      /* JLH: case insensitive */
                        return (mp);
                mp = mp->m_mp;
        }
@@ -360,7 +361,7 @@ register char *p1, *p2;
 #if    CASE_SENSITIVE
                return (strcmp( p1, p2 ) == 0);
 #else
-               return (strcmpi( p1, p2 ) == 0);
+               return (as_strcmpi( p1, p2 ) == 0);
 #endif
 }