Add explicit function prototypes

This commit is contained in:
Nishi 2026-06-18 14:11:47 +09:00
commit 07645647d9
41 changed files with 163 additions and 104 deletions

7
sjrc.c
View file

@ -49,12 +49,13 @@ static char* rcfile = ".sjrc";
static int user_euc = 0;
static int file_code = SYS_SJIS;
void setrc();
int set_dict(), set_server();
int setrc(char * file);
int set_dict(struct wordent word[]);
int set_server(struct wordent word[]);
struct functbl {
char* keyword;
int (*func)();
int (*func)(struct wordent word[]);
} funcs[] = {
{"dictionary", set_dict},
{"userdic", set_dict},