diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2000-07-03 15:02:45 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2000-07-03 15:02:45 +0000 |
| commit | b274f52bbf1865eb546a4d1c27e5b6776b9cc73e (patch) | |
| tree | 67c01c490a3edb77a8b1468f21198e28ecc63f01 /src/util | |
| parent | 207cf12298ce60a2225fb860b1191e581d287552 (diff) | |
| download | krb5-b274f52bbf1865eb546a4d1c27e5b6776b9cc73e.tar.gz krb5-b274f52bbf1865eb546a4d1c27e5b6776b9cc73e.tar.xz krb5-b274f52bbf1865eb546a4d1c27e5b6776b9cc73e.zip | |
* test_ss.c (main): Change usage of ss_listen to agree with
prototype.
* ss.h: Add prototype for ss_listen()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12522 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/ss/ChangeLog | 7 | ||||
| -rw-r--r-- | src/util/ss/ss.h | 2 | ||||
| -rw-r--r-- | src/util/ss/test_ss.c | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/util/ss/ChangeLog b/src/util/ss/ChangeLog index 475549aaf8..6118dff599 100644 --- a/src/util/ss/ChangeLog +++ b/src/util/ss/ChangeLog @@ -1,3 +1,10 @@ +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". diff --git a/src/util/ss/ss.h b/src/util/ss/ss.h index b3a0aba0f8..6e398802d9 100644 --- a/src/util/ss/ss.h +++ b/src/util/ss/ss.h @@ -52,9 +52,11 @@ char *ss_name(); #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; diff --git a/src/util/ss/test_ss.c b/src/util/ss/test_ss.c index db0af6fbf4..9bab95c3c6 100644 --- a/src/util/ss/test_ss.c +++ b/src/util/ss/test_ss.c @@ -13,7 +13,6 @@ extern ss_request_table test_cmds; static char def_subsystem_name[5] = "test"; static char version [4] = "1.0"; -extern void ss_listen(); int main(argc, argv) int argc; @@ -85,7 +84,7 @@ int main(argc, argv) ss_perror(sci_idx, code, initial_request); } if (!quit || code) - (void) ss_listen (sci_idx, &code); + code = ss_listen (sci_idx); exit(0); } |
