+2000-08-03 Ken Raeburn <raeburn@mit.edu>
+
+ * listen.c (ss_quit): Now returns void. Fix type of argument ARGV
+ to fit prototype.
+
+ * ss.h (ss_execute_line) [__STDC__]: Make prototype
+ unconditional.
+ (ss_quit): Use __SS_PROTO and return void, as with other
+ command functions.
+
2000-08-02 Ezra Peisach <epeisach@mit.edu>
* requests.c (DECLARE): Fix prototype for dispatch functions to
}
-int ss_quit(argc, argv, sci_idx, infop)
+void ss_quit(argc, argv, sci_idx, infop)
int argc;
- char **argv;
+ char const * const *argv;
int sci_idx;
pointer infop;
{
ss_abort_subsystem(sci_idx, 0);
- return 0;
}
void ss_help __SS_PROTO;
void ss_list_requests __SS_PROTO;
+void ss_quit __SS_PROTO;
char *ss_current_request();
#ifdef __STDC__
char *ss_name(int);
char *ss_get_prompt(int);
void ss_add_request_table(int, ss_request_table *, int, int *);
void ss_delete_request_table(int, ss_request_table *, int *);
-int ss_execute_line PROTOTYPE((int, char*));
-int ss_quit PROTOTYPE((int, char**, int, pointer));
+int ss_execute_line (int, char*);
#else
char *ss_name();
void ss_error ();
void ss_add_request_table();
void ss_delete_request_table();
int ss_execute_line();
-int ss_quit();
#endif
extern ss_request_table ss_std_requests;
#endif /* _ss_h */