]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/ucol_swp.cpp
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / common / ucol_swp.cpp
index c59a610ba50f5f056535b6e6e6ff247f633648cb..b33268c8fef578c319634fb9c18d4869d90d36a2 100644 (file)
@@ -1,11 +1,11 @@
 /*
 *******************************************************************************
 *
-*   Copyright (C) 2003-2010, International Business Machines
+*   Copyright (C) 2003-2012, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
-*   file name:  ucol_swp.c
+*   file name:  ucol_swp.cpp
 *   encoding:   US-ASCII
 *   tab size:   8 (not used)
 *   indentation:4
@@ -20,7 +20,7 @@
 #include "utrie.h"
 #include "udataswp.h"
 #include "cmemory.h"
-#include "ucol_imp.h"
+#include "ucol_data.h"
 #include "ucol_swp.h"
 
 /* swapping ----------------------------------------------------------------- */
@@ -106,7 +106,6 @@ utrie_swap(const UDataSwapper *ds,
 U_CAPI UBool U_EXPORT2
 ucol_looksLikeCollationBinary(const UDataSwapper *ds,
                               const void *inData, int32_t length) {
-    const uint8_t *inBytes;
     const UCATableHeader *inHeader;
     UCATableHeader header;
 
@@ -114,7 +113,6 @@ ucol_looksLikeCollationBinary(const UDataSwapper *ds,
         return FALSE;
     }
 
-    inBytes=(const uint8_t *)inData;
     inHeader=(const UCATableHeader *)inData;
 
     /*