From 194ae3639fbd70cd3f42b0704d8ff268757a9364 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 10 Oct 2021 16:19:30 +0900 Subject: [PATCH] libcsa: remove duplicated function prototype Just `_DtCm_clnt_call` is used anycase. --- cde/lib/csa/connection.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cde/lib/csa/connection.h b/cde/lib/csa/connection.h index 880a59663..a76e90ddd 100644 --- a/cde/lib/csa/connection.h +++ b/cde/lib/csa/connection.h @@ -72,7 +72,6 @@ typedef struct conn { enum clnt_stat stat; } _DtCm_Connection; -#ifdef SunOS extern enum clnt_stat _DtCm_clnt_call( _DtCm_Connection *conn, u_long proc, @@ -81,7 +80,6 @@ extern enum clnt_stat _DtCm_clnt_call( xdrproc_t outproc, caddr_t out, struct timeval tout); -#endif extern CSA_return_code _DtCm_add_registration( _DtCm_Client_Info *ci, @@ -108,9 +106,5 @@ extern CSA_return_code _DtCm_get_server_rpc_version(char *host, int *vers); extern CSA_return_code _DtCm_clntstat_to_csastat(enum clnt_stat clntstat); -extern enum clnt_stat _DtCm_clnt_call(_DtCm_Connection *conn, - u_long proc, xdrproc_t inproc, caddr_t in, - xdrproc_t outproc, caddr_t out, struct timeval tout); - #endif