making sure that functions have return types declared.
* ss_internal.h: Add ss_pager_create prototype.
* ss.h: Add ss_list_requests prototype.
* request_tbl.c (ss_add_request_table, ss_delete_request_table):
Declare function types as void.
* prompt.c (ss_set_prompt): Declare function as void.
* listen.c (ss_quit): Int function should return a value.
* list_rqs.c (ss_list_requests): Fix arguments to match proper
prototype for a ss type handler.
* execute_cmd.c (ss_execute_command): Declare as returning int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10504
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Mar 30 11:30:00 1998 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * ss_internal.h: Add ss_pager_create prototype.
+
+ * ss.h: Add ss_list_requests prototype.
+
+ * request_tbl.c (ss_add_request_table, ss_delete_request_table):
+ Declare function types as void.
+
+ * prompt.c (ss_set_prompt): Declare function as void.
+
+ * listen.c (ss_quit): Int function should return a value.
+
+ * list_rqs.c (ss_list_requests): Fix arguments to match proper
+ prototype for a ss type handler.
+
+ * execute_cmd.c (ss_execute_command): Declare as returning int
+
Wed Feb 18 16:35:55 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
BUILD_HDRS = ss_err.h
SRC_HDRS = ss.h
+SRC_HDRS_DEP = $(srcdir)/ss.h
-includes:: $(SRC_HDRS) $(BUILD_HDRS)
+includes:: $(SRC_HDRS_DEP) $(BUILD_HDRS)
mkdir -p $(HDRDIR)
for i in $(SRC_HDRS) ; do \
if cmp $(srcdir)/$$i $(HDRDIR)/$$i >/dev/null 2>&1; then :; \
* Notes:
*/
+int
ss_execute_command(sci_idx, argv)
int sci_idx;
register char *argv[];
" ";
static char const NL[2] = "\n";
+void
ss_list_requests(argc, argv, sci_idx, info_ptr)
int argc;
- char **argv;
+ const char * const *argv;
int sci_idx;
- pointer info_ptr;
+#ifdef __STDC__
+ void *info_ptr;
+#else
+ char *info_ptr;
+#endif
{
register ss_request_entry *entry;
register char const * const *name;
pointer infop;
{
ss_abort_subsystem(sci_idx, 0);
+ return 0;
}
#include <stdio.h>
#include "ss_internal.h"
+void
ss_set_prompt(sci_idx, new_prompt)
int sci_idx;
char *new_prompt;
#define ssrt ss_request_table /* for some readable code... */
+void
ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr)
int sci_idx;
ssrt *rqtbl_ptr;
*code_ptr = 0;
}
+void
ss_delete_request_table(sci_idx, rqtbl_ptr, code_ptr)
int sci_idx;
ssrt *rqtbl_ptr;
#include <stdio.h>
#include "ss_internal.h"
-#define DECLARE(name) name(argc,argv,sci_idx)int argc,sci_idx;char **argv;
+#define DECLARE(name) void name(argc,argv,sci_idx)int argc,sci_idx;char **argv;
/*
* ss_self_identify -- assigned by default to the "." request
#define SS_OPT_DONT_SUMMARIZE 0x0002
void ss_help __SS_PROTO;
+void ss_list_requests __SS_PROTO;
char *ss_current_request();
char *ss_name();
#ifdef __STDC__
char **ss_parse();
ss_abbrev_info *ss_abbrev_initialize PROTOTYPE((char *, int *));
void ss_page_stdin();
+int ss_pager_create();
extern ss_data **_ss_table;
extern char *ss_et_msgs[];