diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-16 03:13:01 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-16 03:13:01 +0000 |
commit | a9dacc0f8bba4003b4a9a988c5f1b321da1007d0 (patch) | |
tree | adef6d55c12178a4f1e307ce8e7035e65f7627ea /kerberosIV/ss | |
parent | 18689c7050c690ee146e0d801ad3215a2e4f4fce (diff) |
Fix warnings
Diffstat (limited to 'kerberosIV/ss')
-rw-r--r-- | kerberosIV/ss/list_rqs.c | 6 | ||||
-rw-r--r-- | kerberosIV/ss/listen.c | 8 | ||||
-rw-r--r-- | kerberosIV/ss/requests.c | 4 | ||||
-rw-r--r-- | kerberosIV/ss/ss_internal.h | 3 |
4 files changed, 11 insertions, 10 deletions
diff --git a/kerberosIV/ss/list_rqs.c b/kerberosIV/ss/list_rqs.c index ed596e3d007..ce1e8aceacc 100644 --- a/kerberosIV/ss/list_rqs.c +++ b/kerberosIV/ss/list_rqs.c @@ -1,4 +1,4 @@ -/* $Id: list_rqs.c,v 1.1 1995/12/14 06:52:47 tholo Exp $ */ +/* $Id: list_rqs.c,v 1.2 1996/09/16 03:12:59 tholo Exp $ */ /*- * Copyright 1987, 1988 by the Student Information Processing Board @@ -33,10 +33,10 @@ static char const twentyfive_spaces[26] = " "; static char const NL[2] = "\n"; -int +void ss_list_requests(argc, argv, sci_idx, info_ptr) int argc; - char **argv; + const char * const *argv; int sci_idx; pointer info_ptr; { diff --git a/kerberosIV/ss/listen.c b/kerberosIV/ss/listen.c index 59e8684cdcb..e0429ab8352 100644 --- a/kerberosIV/ss/listen.c +++ b/kerberosIV/ss/listen.c @@ -1,4 +1,4 @@ -/* $Id: listen.c,v 1.1 1995/12/14 06:52:47 tholo Exp $ */ +/* $Id: listen.c,v 1.2 1996/09/16 03:12:59 tholo Exp $ */ /*- * Copyright 1987, 1988 by the Student Information Processing Board @@ -38,7 +38,7 @@ #ifndef lint static char const rcs_id[] = - "$Id: listen.c,v 1.1 1995/12/14 06:52:47 tholo Exp $"; + "$Id: listen.c,v 1.2 1996/09/16 03:12:59 tholo Exp $"; #endif #ifndef NPOSIX @@ -205,10 +205,10 @@ ss_abort_subsystem(sci_idx, code) } -int +void ss_quit(argc, argv, sci_idx, infop) int argc; - char **argv; + const char * const *argv; int sci_idx; pointer infop; { diff --git a/kerberosIV/ss/requests.c b/kerberosIV/ss/requests.c index 8d8977c3cef..d0b0bd05071 100644 --- a/kerberosIV/ss/requests.c +++ b/kerberosIV/ss/requests.c @@ -1,4 +1,4 @@ -/* $Id: requests.c,v 1.1 1995/12/14 06:52:46 tholo Exp $ */ +/* $Id: requests.c,v 1.2 1996/09/16 03:13:00 tholo Exp $ */ /*- * Copyright 1987, 1988, 1989 by the Student Information Processing Board @@ -24,7 +24,7 @@ #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,arg)int argc,sci_idx;const char *const *argv;void *arg; /* * ss_self_identify -- assigned by default to the "." request diff --git a/kerberosIV/ss/ss_internal.h b/kerberosIV/ss/ss_internal.h index 19388e0f199..c04a5051c46 100644 --- a/kerberosIV/ss/ss_internal.h +++ b/kerberosIV/ss/ss_internal.h @@ -1,4 +1,4 @@ -/* $Id: ss_internal.h,v 1.1 1995/12/14 06:52:46 tholo Exp $ */ +/* $Id: ss_internal.h,v 1.2 1996/09/16 03:13:00 tholo Exp $ */ /*- * Copyright 1987, 1988 by the Student Information Processing Board @@ -110,6 +110,7 @@ typedef struct _ss_data { /* init values */ (*code_ptr=0,ss_info(sci_idx)->current_request) void ss_unknown_function(); void ss_delete_info_dir(); +void ss_unimplemented(int, const char * const *, int, void *); int ss_execute_line(); char **ss_parse(); ss_abbrev_info *ss_abbrev_initialize PROTOTYPE((char *, int *)); |