[LTP] [PATCH 1/1] rpc: Add missing header
Cyril Hrubis
chrubis@suse.cz
Thu Mar 23 14:13:41 CET 2017
Hi!
> > Hmm, the man 3 rpc only states that <rpc/rpc.h> needs to be included,
> > what distro this fails on?
> Error is:
> rpc_server.c: In function ???main???:
> rpc_server.c:78:2: warning: implicit declaration of function ???pmap_unset??? [-Wimplicit-function-declaration]
> pmap_unset(program, version);
>
> But maybe I'm wrong, doing some mistake.
Looks to me like glibc bug. Since the tirpc/rpc/rpc.h includes the
rpc/pmap_clnt.h while the glibc equivalent does not. But I'm not expect
on RPC either. I guess that we should better ask on the glibc ML.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list