prototype.
* ss.h: Add prototype for ss_listen()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12522
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-07-03 Ezra Peisach <epeisach@mit.edu>
+
+ * test_ss.c (main): Change usage of ss_listen to agree with
+ prototype.
+
+ * ss.h: Add prototype for ss_listen()
+
2000-05-01 Nalin Dahyabhai <nalin@redhat.com>
* help.c (ss_help): Don't overflow buffers "buffer" or "buf".
#ifdef __STDC__
void ss_error (int, long, char const *, ...);
void ss_perror (int, long, char const *);
+int ss_listen (int);
#else
void ss_error ();
void ss_perror ();
+int ss_listen ();
#endif
void ss_abort_subsystem();
extern ss_request_table ss_std_requests;
static char def_subsystem_name[5] = "test";
static char version [4] = "1.0";
-extern void ss_listen();
int main(argc, argv)
int argc;
ss_perror(sci_idx, code, initial_request);
}
if (!quit || code)
- (void) ss_listen (sci_idx, &code);
+ code = ss_listen (sci_idx);
exit(0);
}