diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2016-04-04 09:51:15 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2016-04-04 09:53:15 -0400 |
commit | 503ac2e9fa569d95e366766202a7ca840e28b28a (patch) | |
tree | 22b875a3d9175f3ce958a93e45430f49603ae94c | |
parent | 7f6bb9a3467a57caf43425d213a06aeb7870086b (diff) | |
download | ti-rpc-503ac2e9fa569d95e366766202a7ca840e28b28a.tar.gz |
Remove des*.c dependencies to glibclibtirpc-1-0-2-rc3
Our des_impl.c has dependencies to glibc header files
and different arguments then our header file has.
Bring our own code in sync.
Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/des_impl.c | 3 | ||||
-rw-r--r-- | tirpc/rpc/des.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/des_impl.c b/src/des_impl.c index c5b7ed6..9dbccaf 100644 --- a/src/des_impl.c +++ b/src/des_impl.c @@ -6,7 +6,8 @@ /* see <http://www.gnu.org/licenses/> to obtain a copy. */ #include <string.h> #include <stdint.h> -#include <rpc/rpc_des.h> +#include <sys/types.h> +#include <rpc/des.h> static const uint32_t des_SPtrans[8][64] = diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h index d2881ad..018aa48 100644 --- a/tirpc/rpc/des.h +++ b/tirpc/rpc/des.h @@ -82,6 +82,6 @@ struct desparams { /* * Software DES. */ -extern int _des_crypt( char *, int, struct desparams * ); +extern int _des_crypt( char *, unsigned, struct desparams * ); #endif |