[Anthy-dev 2541] patch and git (2)

Back to archive index

NIIBE Yutaka gniib****@m17n*****
2005年 10月 15日 (土) 06:37:23 JST


On Fri, 14 Oct 2005 22:25:09 +0900
	NIIBE Yutaka <gniib****@m17n*****> wrote:
 > GITを使おうと思って田畑さんに教えてもらいました。
 > 
 > 下記が変更の練習です。いちおう意味があって無害。

続けて、もう一個。

commit しました。

	http://www.gniibe.org/oitoite/anthy/.git/

から取れます。

2005-10-15  NIIBE Yutaka  <gniib****@fsij*****>

	* src-diclib/wtype.c (anthy_pos_name_intern): Removed.
	* include/wtype.h (anthy_pos_name_intern): Removed.

diff --git a/include/wtype.h b/include/wtype.h
--- a/include/wtype.h
+++ b/include/wtype.h
@@ -199,8 +199,6 @@ void anthy_print_wtype(wtype_t w);
 const char *anthy_type_to_wtype(const char *name, wtype_t *w);
 /* 品詞の名前から品詞を得る */
 int anthy_init_wtype_by_name(const char *str, wtype_t *w);
-/* 品詞の名前(「名詞」など)の内部のポインタを返す */
-const char *anthy_pos_name_intern(const char *str);
 
 int anthy_wtype_get_pos(wtype_t w);
 int anthy_wtype_get_cc(wtype_t w);
diff --git a/src-diclib/wtype.c b/src-diclib/wtype.c
--- a/src-diclib/wtype.c
+++ b/src-diclib/wtype.c
@@ -176,16 +176,6 @@ anthy_wtype_include(wtype_t hs, wtype_t 
   return 1;
 }
 
-const char *
-anthy_pos_name_intern(const char *name)
-{
-  struct PTab *p = get_pos_by_name(name);
-  if (p) {
-    return p->name;
-  }
-  return NULL;
-}
-
 int
 anthy_wtype_get_cc(wtype_t t)
 {



Anthy-dev メーリングリストの案内
Back to archive index