Format source code
This commit is contained in:
parent
b6df536fe9
commit
d0be6165c0
165 changed files with 30306 additions and 33687 deletions
14
istrcmp.c
14
istrcmp.c
|
|
@ -33,20 +33,18 @@
|
|||
#include "const.h"
|
||||
#include "sj_typedef.h"
|
||||
|
||||
int
|
||||
istrcmp(unsigned char *yomip, unsigned char *idxp, int ylen, int ilen)
|
||||
{
|
||||
while (1) {
|
||||
if ((ilen | ylen) == 0)
|
||||
int istrcmp(unsigned char* yomip, unsigned char* idxp, int ylen, int ilen) {
|
||||
while(1) {
|
||||
if((ilen | ylen) == 0)
|
||||
return MATCH;
|
||||
|
||||
if (ilen == 0)
|
||||
if(ilen == 0)
|
||||
return UNDER;
|
||||
|
||||
if ((ylen == 0) || (*yomip < *idxp))
|
||||
if((ylen == 0) || (*yomip < *idxp))
|
||||
return OVER;
|
||||
|
||||
if (*yomip > *idxp)
|
||||
if(*yomip > *idxp)
|
||||
return UNDER;
|
||||
|
||||
yomip++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue