fts: when there is no risk of overlap, use memcpy, not memmove
[gnulib.git] / lib / unicase / u32-casefold.c
index feda177..c4f2766 100644 (file)
@@ -1,5 +1,5 @@
 /* Casefolding mapping for UTF-32 strings (locale dependent).
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2012 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2009.
 
    This program is free software: you can redistribute it and/or modify it
 /* Specification.  */
 #include "unicase.h"
 
-#include <errno.h>
-#include <stddef.h>
-#include <stdlib.h>
-
-#include "unicasemap.h"
-#include "special-casing.h"
-#include "casefold.h"
-
 #define FUNC u32_casefold
 #define UNIT uint32_t
-#define U_CASEMAP u32_casemap
-#define U_NORMALIZE u32_normalize
+#define U_CT_CASEFOLD u32_ct_casefold
 #include "u-casefold.h"