libDtSearch: Enable compiling with const support, remove ability to build without const support.

This commit is contained in:
Peter Howkins
2018-06-28 19:17:42 +01:00
parent 144bca4af7
commit af9f0e9033
28 changed files with 116 additions and 123 deletions

View File

@@ -79,7 +79,7 @@ static int nextc(P1(int));
int d_mapchar(inchar,outchar,sort_str,subsort TASK_PARM)
unsigned char inchar; /* value of character to be mapped */
unsigned char outchar; /* output character as ... */
CONST char *sort_str; /* sort string (max. len = 2) */
const char *sort_str; /* sort string (max. len = 2) */
unsigned char subsort; /* subsort value, to distinguish between two */
/* equal values (e.g. 'a' and 'A', if necessary) */
TASK_DECL