Marcus Meissner
4b133a860c
- Add some patches to get libtirpc compiled without needing glibc deprecated functions: - 015-Fix-includes-to-compile-without-deprecated-glibc-fun.patch - 014-Add-des_crypt.c-and-des_impl.c-to-become-independent.patch - 013-If-we-don-t-compile-in-YP-support-don-t-include-YP-h.patch - Add 012-libtirpc-needs-rpcsvc-nis.h-for-compiling-but-does-n.patch to allow bootstrapping of libtirpc without glibc sunrpc code or libnsl NIS+ code. - Add 011-Fix-typo-in-src-libtirpc.map-which-prevents-that-key.patch (fix export of key_secretkey_is_set) - Add the following patches to fix some bugs from the poll() port and an endless loop: - 006-Remove-old-meanwhile-wrong-comment-about-FD_SETSIZE-.patch - 007-Change-rtime-function-to-use-poll-instead-of-select.patch - 008-Add-parameters-to-local-prototypes-to-fix-compiler-w.patch - 009-makefd_xprt-checks-that-the-filedesriptor-is-lower-t.patch - 010-The-goto-again-statement-was-an-left-over-from-the-p.patch - Remove 004-netconfig-prefer-IPv6.patch for SLES12. - Remove libtirpc-getnetconfig-races.patch (was backport). [FATE#320393] - Drop libtirpc-xdr-header.patch (was backport) - Fix public xdr.h header - xdr_rpcvers() were broken (bsc#902439) Added: libtirpc-xdr-header.patch - Fix race conditions in getnetconfig (bsc#899576, bsc#882973) Added: libtirpc-getnetconfig-races.patch OBS-URL: https://build.opensuse.org/request/show/381804 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=57
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From f4baf06134d46512fe36bcc1f63941bd928450e7 Mon Sep 17 00:00:00 2001
|
|
From: Thorsten Kukuk <kukuk@thkukuk.de>
|
|
Date: Thu, 25 Feb 2016 12:55:42 +0100
|
|
Subject: [PATCH 3/5] Add parameters to local prototypes to fix compiler
|
|
warnings and avoid portability issues about wrong compiler assumptions.
|
|
|
|
Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
|
|
---
|
|
src/svc_auth_des.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/svc_auth_des.c b/src/svc_auth_des.c
|
|
index 5bc264c..2e90146 100644
|
|
--- a/src/svc_auth_des.c
|
|
+++ b/src/svc_auth_des.c
|
|
@@ -86,13 +86,13 @@ static struct cache_entry *authdes_cache/* [AUTHDES_CACHESZ] */;
|
|
static short *authdes_lru/* [AUTHDES_CACHESZ] */;
|
|
|
|
static void cache_init(); /* initialize the cache */
|
|
-static short cache_spot(); /* find an entry in the cache */
|
|
-static void cache_ref(/*short sid*/); /* note that sid was ref'd */
|
|
+static short cache_spot(des_block *key, char *name, struct timeval *timestamp); /* find an entry in the cache */
|
|
+static void cache_ref(short sid); /* note that sid was ref'd */
|
|
|
|
-static void invalidate(); /* invalidate entry in cache */
|
|
+static void invalidate(char *cred); /* invalidate entry in cache */
|
|
|
|
/*
|
|
- * cache statistics
|
|
+ * cache statistics
|
|
*/
|
|
static struct {
|
|
u_long ncachehits; /* times cache hit, and is not replay */
|
|
--
|
|
1.8.5.6
|
|
|