Mercurial > hg > dmlib
comparison tools/fanalyze.c @ 2494:fcaf2db0cd05
Remove dm_str(n)casecmp() functions, in favour of standard libc ones.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 28 Apr 2020 20:34:49 +0300 |
parents | 0d13de7edb30 |
children | 9921d60bd8e4 |
comparison
equal
deleted
inserted
replaced
2493:ec036e88a0c2 | 2494:fcaf2db0cd05 |
---|---|
308 { | 308 { |
309 BOOL vendianess = TRUE; | 309 BOOL vendianess = TRUE; |
310 char *vtmp = vspec; | 310 char *vtmp = vspec; |
311 | 311 |
312 // Get endianess specifier, if any | 312 // Get endianess specifier, if any |
313 if (dm_strncasecmp(vtmp, "le", 2) == 0) | 313 if (strncasecmp(vtmp, "le", 2) == 0) |
314 { | 314 { |
315 vendianess = TRUE; | 315 vendianess = TRUE; |
316 vtmp += 2; | 316 vtmp += 2; |
317 } | 317 } |
318 else | 318 else |
319 if (dm_strncasecmp(vtmp, "be", 2) == 0) | 319 if (strncasecmp(vtmp, "be", 2) == 0) |
320 { | 320 { |
321 vendianess = FALSE; | 321 vendianess = FALSE; |
322 vtmp += 2; | 322 vtmp += 2; |
323 } | 323 } |
324 | 324 |