ICU-5410 Remove unused code.

X-SVN-Rev: 20660
This commit is contained in:
George Rhoten 2006-11-15 00:43:22 +00:00
parent f29097dc68
commit 1822495e12

View file

@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2005, International Business Machines Corporation and
* Copyright (c) 1997-2006, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
@ -24,8 +24,6 @@
#include "unicode/ustring.h"
#include "cmemory.h"
UChar U_CALLCONV testInc(void *context);
void addCollTest(TestNode** root);
void addCollTest(TestNode** root)
@ -156,19 +154,4 @@ UChar* appendCompareResult(UCollationResult result, UChar* target)
return target;
}
/* Support for testing incremental strcoll */
typedef struct {
const UChar *start;
const UChar *end;
} testContext;
UChar U_CALLCONV testInc(void *context) {
testContext *s = (testContext *)context;
if(s->start == s->end) {
return 0xFFFF;
} else {
return *(s->start++);
}
}
#endif /* #if !UCONFIG_NO_COLLATION */