Added names in function declarations...
This commit is contained in:
parent
f65bf959eb
commit
4e78f6bd21
2
xyntax.c
2
xyntax.c
@ -164,7 +164,7 @@ void syntax_define_default (int case_sensitive, int string_colour, int string_ef
|
||||
}
|
||||
|
||||
void syntax_define_words (char * * word_array, int word_count, int word_colour, int word_effect) {
|
||||
int word = 0;
|
||||
int word;
|
||||
|
||||
for (word = 0; word != word_count; ++word) {
|
||||
(void) syntax_define (0, 1, word_array [word], syntax_separator, '\0', word_colour, word_effect);
|
||||
|
16
xyntax.h
16
xyntax.h
@ -19,24 +19,22 @@ extern int * syntax_colour;
|
||||
extern int * syntax_effect;
|
||||
extern char * syntax_separator;
|
||||
|
||||
extern int syntax_define (int, int, char *, char *, char, int, int);
|
||||
extern int syntax_define (int enrange, int derange, char * begin, char * end, char escape, int colour, int effect);
|
||||
|
||||
extern int syntax_select (char *, int *);
|
||||
extern int syntax_select (char * string, int * length);
|
||||
|
||||
extern void syntax_delete (void);
|
||||
|
||||
/* Simplification... */
|
||||
|
||||
extern void syntax_define_style (int *, int *);
|
||||
extern void syntax_define_separators (char * separator);
|
||||
|
||||
extern void syntax_define_separators (char *);
|
||||
extern void syntax_define_default (int case_sensitive, int string_colour, int string_effect, int number_colour, int number_effect);
|
||||
|
||||
extern void syntax_define_default (int, int, int, int, int);
|
||||
extern void syntax_define_words (char * * word_array, int word_count, int word_colour, int word_effect);
|
||||
|
||||
extern void syntax_define_words (char * *, int, int, int);
|
||||
extern void syntax_define_range (char * range_begin, char * range_end, char range_escape, int range_colour, int range_effect);
|
||||
|
||||
extern void syntax_define_range (char *, char *, char, int, int);
|
||||
|
||||
extern void syntax_define_operators (char *, int, int);
|
||||
extern void syntax_define_operators (char * operator_array, int operator_colour, int operator_effect);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user