comparison Wnn/jutil/wdreg.c @ 22:c966456648ad

- fixed argument style in function definition - created header files for prototype check. (in progress) - suppress warnings
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 17 Apr 2008 01:17:45 +0900
parents bbc77ca4def5
children a7ccf412ba02
comparison
equal deleted inserted replaced
21:22b754fbd8fe 22:c966456648ad
186 { 186 {
187 if (client) 187 if (client)
188 { 188 {
189 if (access (fname, F_OK) == -1) 189 if (access (fname, F_OK) == -1)
190 { 190 {
191 if (js_dic_file_create_client (env, fname, WNN_REV_DICT, "", "", "") == -1) 191 if (js_dic_file_create_client (env, fname, WNN_REV_DICT, (w_char *)"", "", "") == -1)
192 { 192 {
193 err (); 193 err ();
194 } 194 }
195 } 195 }
196 if ((fid = js_file_send (env, fname)) == -1) 196 if ((fid = js_file_send (env, fname)) == -1)
201 else 201 else
202 { 202 {
203 WNN_FILE_STAT s; 203 WNN_FILE_STAT s;
204 if (js_file_stat (env, fname, &s) == -1) 204 if (js_file_stat (env, fname, &s) == -1)
205 { 205 {
206 if (js_dic_file_create (env, fname, WNN_REV_DICT, "", "", "") == -1) 206 if (js_dic_file_create (env, fname, WNN_REV_DICT, (w_char *)"", "", "") == -1)
207 { 207 {
208 err (); 208 err ();
209 } 209 }
210 } 210 }
211 if ((fid = js_file_read (env, fname)) == -1) 211 if ((fid = js_file_read (env, fname)) == -1)