diff --git a/wmkeys/wmkeys.c b/wmkeys/wmkeys.c index 718ccd5..72d98e7 100644 --- a/wmkeys/wmkeys.c +++ b/wmkeys/wmkeys.c @@ -94,7 +94,7 @@ void enable_configuration(int n); * Main */ -void main(int argc, char *argv[]) +int main(int argc, char *argv[]) { num_configs = 0; current_config = 0; @@ -105,6 +105,8 @@ void main(int argc, char *argv[]) read_config(); wmkeys_routine(argc, argv); + + return 0; } /* @@ -179,7 +181,7 @@ void draw_string(char* s) * getline() */ -int getline(FILE* pfile, char* s, int lim) +int getline_wmkeys(FILE* pfile, char* s, int lim) { int c = 0, i; for(i=0; i