diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2019-09-26 15:27:23 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-09-26 15:27:23 -0400 |
commit | 9a40fb4fb35506f6f1423318ed736caf5e490fb7 (patch) | |
tree | 509992d9831796507b2e358b03c44da91d59525d /src/rpcbind.c | |
parent | 06a3103a871de29478e499818ef227779c1dd9a6 (diff) | |
download | rpcbind-9a40fb4fb35506f6f1423318ed736caf5e490fb7.tar.gz |
rpcbind: Add missing includes
On musl systems there are implicit function declaration warnings due to
missing string.h include.
src/pmap_svc.c: In function ‘pmapproc_change’:
src/pmap_svc.c:225:8: warning: implicit declaration of function ‘memcmp’ [-Wimplicit-function-declaration]
if (!memcmp(rpcbreg.r_netid, "udp6", 4) ||
^~~~~~
src/pmap_svc.c: In function ‘pmap_netid2ipprot’:
src/pmap_svc.c:408:6: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if (strcmp(netid, tcptrans) == 0)
^~~~~~
src/warmstart.c: In function ‘read_struct’:
src/warmstart.c:116:22: warning: implicit declaration of function ‘strerror’; did you mean ‘perror’? [-Wimplicit-function-declaration]
filename, errno, strerror(errno));
^~~~~~~~
perror
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/rpcbind.c')
0 files changed, 0 insertions, 0 deletions