From owner-svn-soc-all@FreeBSD.ORG Mon Jul 7 20:08:29 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E057CC6C for ; Mon, 7 Jul 2014 20:08:28 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC3062BCB for ; Mon, 7 Jul 2014 20:08:28 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.8/8.14.8) with ESMTP id s67K8SYE010171 for ; Mon, 7 Jul 2014 20:08:28 GMT (envelope-from ghostmansd@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.8/8.14.8/Submit) id s67K8R2v010148 for svn-soc-all@FreeBSD.org; Mon, 7 Jul 2014 20:08:27 GMT (envelope-from ghostmansd@FreeBSD.org) Date: Mon, 7 Jul 2014 20:08:27 GMT Message-Id: <201407072008.s67K8R2v010148@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to ghostmansd@FreeBSD.org using -f From: ghostmansd@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r270555 - in soc2014/ghostmansd/head/lib/libc/string: . norm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2014 20:08:29 -0000 Author: ghostmansd Date: Mon Jul 7 20:08:26 2014 New Revision: 270555 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=270555 Log: several small fixes (mainly typos) Modified: soc2014/ghostmansd/head/lib/libc/string/coll.h soc2014/ghostmansd/head/lib/libc/string/norm.h soc2014/ghostmansd/head/lib/libc/string/norm/compose.h soc2014/ghostmansd/head/lib/libc/string/norm/decompose.h soc2014/ghostmansd/head/lib/libc/string/norm/hangul.h Modified: soc2014/ghostmansd/head/lib/libc/string/coll.h ============================================================================== --- soc2014/ghostmansd/head/lib/libc/string/coll.h Mon Jul 7 19:31:02 2014 (r270554) +++ soc2014/ghostmansd/head/lib/libc/string/coll.h Mon Jul 7 20:08:26 2014 (r270555) @@ -26,19 +26,21 @@ #ifndef _COLL_H_ #define _COLL_H_ +#include +#include typedef struct __collation_struct { - uint8_t keys_count; - uint8_t weights_count; wchar_t const *keys_pointer; wchar_t const *weights_pointer; + uint8_t keys_count; + uint8_t weights_count; } __collation_struct; -#include "ducet/keys.h" -#include "ducet/weights.h" -#include "ducet/table.h" +#include "coll/keys.h" +#include "coll/weights.h" +#include "coll/table.h" #endif Modified: soc2014/ghostmansd/head/lib/libc/string/norm.h ============================================================================== --- soc2014/ghostmansd/head/lib/libc/string/norm.h Mon Jul 7 19:31:02 2014 (r270554) +++ soc2014/ghostmansd/head/lib/libc/string/norm.h Mon Jul 7 20:08:26 2014 (r270555) @@ -26,6 +26,7 @@ #ifndef _NORM_H_ #define _NORM_H_ +#include #include "norm/hangul.h" #include "norm/compose.h" #include "norm/decompose.h" @@ -59,8 +60,6 @@ static inline size_t __norm_compose(wchar_t *buffer, size_t size, const wchar_t *str) { - size_t index = 0; - size_t length = 0; size_t reqsize = 0; wchar_t other = 0; wchar_t starter = 0; Modified: soc2014/ghostmansd/head/lib/libc/string/norm/compose.h ============================================================================== --- soc2014/ghostmansd/head/lib/libc/string/norm/compose.h Mon Jul 7 19:31:02 2014 (r270554) +++ soc2014/ghostmansd/head/lib/libc/string/norm/compose.h Mon Jul 7 20:08:26 2014 (r270555) @@ -26,6 +26,7 @@ #ifndef _NORM_COMPOSE_H_ #define _NORM_COMPOSE_H_ +#include typedef struct __norm_compose_type { Modified: soc2014/ghostmansd/head/lib/libc/string/norm/decompose.h ============================================================================== --- soc2014/ghostmansd/head/lib/libc/string/norm/decompose.h Mon Jul 7 19:31:02 2014 (r270554) +++ soc2014/ghostmansd/head/lib/libc/string/norm/decompose.h Mon Jul 7 20:08:26 2014 (r270555) @@ -26,6 +26,7 @@ #ifndef _NORM_DECOMPOSE_H_ #define _NORM_DECOMPOSE_H_ +#include #define NORM_STATE_FALSE -1 Modified: soc2014/ghostmansd/head/lib/libc/string/norm/hangul.h ============================================================================== --- soc2014/ghostmansd/head/lib/libc/string/norm/hangul.h Mon Jul 7 19:31:02 2014 (r270554) +++ soc2014/ghostmansd/head/lib/libc/string/norm/hangul.h Mon Jul 7 20:08:26 2014 (r270555) @@ -26,6 +26,7 @@ #ifndef _NORM_HANGUL_H_ #define _NORM_HANGUL_H_ +#include #define HANGUL_LEAD (1 << 1)