comparison Wnn/jserver/get_kaiarea.c @ 5:338478efe78d

some cleanups
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 22:24:18 +0900
parents 790205f476c0
children
comparison
equal deleted inserted replaced
3:ed4bb01eb317 5:338478efe78d
49 #include "kaiseki.h" 49 #include "kaiseki.h"
50 #undef GLOBAL_VALUE_DEFINE 50 #undef GLOBAL_VALUE_DEFINE
51 51
52 /* 52 /*
53 * get_kaiseki_area: take memory areas for analysing. 53 * get_kaiseki_area: take memory areas for analysing.
54 * return value: fail = NULL, success != NULL 54 * return value: fail = 0, success = 1
55 */ 55 */
56 int 56 int
57 get_kaiseki_area (size_t kana_len) 57 get_kaiseki_area (size_t kana_len)
58 { 58 {
59 if (NULL == (maxj = (int *) calloc (kana_len, sizeof(int)))) 59 if (NULL == (maxj = (int *) calloc (kana_len, sizeof(int))))