Fix sj3mkdic
This commit is contained in:
parent
145c203403
commit
80b2181a61
19 changed files with 29 additions and 68 deletions
|
|
@ -34,8 +34,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj_euc.h"
|
||||
#include "sj3_dict_const.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,9 +34,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
||||
|
||||
static struct gram_code {
|
||||
|
|
|
|||
|
|
@ -33,13 +33,6 @@
|
|||
* $SonyDate: 1995/02/03 07:38:32 $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
||||
typedef struct filelist {
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
|
|||
|
|
@ -37,10 +37,6 @@
|
|||
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@
|
|||
* $SonyDate: 1994/06/03 08:00:37 $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_const.h"
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -33,15 +33,6 @@
|
|||
* $SonyDate: 1994/12/09 11:27:05 $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include "sj3_dict_const.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
@ -200,7 +191,7 @@ getch()
|
|||
void
|
||||
mark_file(FILE *out)
|
||||
{
|
||||
static char pathname[MAXPATHLEN];
|
||||
static char pathname[512];
|
||||
static long pos;
|
||||
|
||||
if (out) {
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@
|
|||
* $SonyDate: 1994/06/03 08:00:39 $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
|
|||
|
|
@ -33,12 +33,6 @@
|
|||
* $SonyDate: 1994/12/09 11:27:05 $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_struct.h"
|
||||
#include "Dict.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -33,10 +33,7 @@
|
|||
* $SonyDate: 1994/06/03 08:00:42 $
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "sj3mkdic.h"
|
||||
|
||||
void *
|
||||
Malloc(unsigned size)
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@
|
|||
* $SonyDate: 1994/08/17 01:50:26 $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
|
|||
|
|
@ -33,11 +33,6 @@
|
|||
* $SonyDate: 1994/06/03 08:00:44 $
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "sj_euc.h"
|
||||
#include "sj3_dict_const.h"
|
||||
|
||||
|
|
@ -277,7 +272,7 @@ readline()
|
|||
|
||||
|
||||
void
|
||||
setline(int (*func)())
|
||||
setline(void (*func)(int*, int*, int, int*))
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@
|
|||
#ifndef SJ3_DICT_STRUCT_H
|
||||
#define SJ3_DICT_STRUCT_H
|
||||
|
||||
#include <sj_typedef.h>
|
||||
|
||||
typedef struct kanji_rec {
|
||||
int klen;
|
||||
u_char *kptr;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,12 @@
|
|||
#define SJ3MKDIC_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "sj3_dict_struct.h"
|
||||
|
||||
|
|
@ -107,7 +113,7 @@ OffsetRec *real_ofsrec(u_char *);
|
|||
|
||||
/* readline.c */
|
||||
int *readline();
|
||||
void setline(int (*)());
|
||||
void setline(void (*)(int*, int*, int, int*));
|
||||
|
||||
/* string.c */
|
||||
int bubun_str(u_char *, int, u_char *, int);
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@
|
|||
* $SonyDate: 1994/06/03 08:00:45 $
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include "sj3_dict_const.h"
|
||||
|
||||
#include "sj3mkdic.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue