Add explicit function prototypes
This commit is contained in:
parent
a2161ba1b0
commit
07645647d9
41 changed files with 163 additions and 104 deletions
7
sjrc.c
7
sjrc.c
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue