libsa: xdrproc_t should return bool

Since our xdr translation function are returning bool, so should
xdrproc_t.

Issue reported by gcc 10 build.
This commit is contained in:
Toomas Soome 2020-12-27 23:19:41 +02:00
parent abd7ded451
commit 2ae5841472

View File

@ -56,7 +56,7 @@ static bool nvlist_size_native(xdr_t *, size_t *);
static bool xdr_int(xdr_t *, int *);
static bool xdr_u_int(xdr_t *, unsigned *);
typedef int (*xdrproc_t)(xdr_t *, void *);
typedef bool (*xdrproc_t)(xdr_t *, void *);
/* Basic primitives for XDR translation operations, getint and putint. */
static int