libDtSearch: remove NO_COUNTRY code which is always off for CDE

This commit is contained in:
Peter Howkins
2018-06-29 01:04:55 +01:00
parent 9d921ba219
commit 86b9a0fee4
10 changed files with 1 additions and 30 deletions

View File

@@ -214,12 +214,8 @@ const char *f2; /* pointer to field 2 */
return ( bytecmp(f1, f2, len) );
else if ( fld_ptr->fd_dim[0] )
{
#ifdef NO_COUNTRY
return ( strncmp(f1, f2, len) );
#else
if ( db_global.ctbl_activ ) return ( ctblcmp(f1, f2, len) );
else return ( strncmp(f1, f2, len) );
#endif
}
else
return ( (int)(*f1) - (int)(*f2) );
@@ -403,7 +399,6 @@ DB_ADDR dba;
return( db_status );
}
#ifndef NO_COUNTRY
/* Compare two strings with sorting according to char-table
*/
static int ctblcmp(s, t, n)
@@ -465,5 +460,4 @@ int n; /* Max. String length */
}
return(0);
}
#endif
/* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin libfcns.c */