[BACK]Return to rpcinfo.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rpcinfo

Diff for /src/usr.bin/rpcinfo/rpcinfo.c between version 1.6 and 1.7

version 1.6, 2001/07/07 00:31:55 version 1.7, 2001/07/17 02:24:00
Line 51 
Line 51 
 #include <rpc/pmap_prot.h>  #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>  #include <rpc/pmap_clnt.h>
 #include <signal.h>  #include <signal.h>
   #include <string.h>
   #include <stdlib.h>
   #include <unistd.h>
 #include <ctype.h>  #include <ctype.h>
 #include <errno.h>  #include <errno.h>
 #include <arpa/inet.h>  #include <arpa/inet.h>
Line 672 
Line 675 
         u_long *ulp;          u_long *ulp;
 {  {
         register struct rpcent *rpc;          register struct rpcent *rpc;
         register u_long prognum;  
   
         if (isalpha(*arg)) {          if (isalpha(*arg)) {
                 rpc = getrpcbyname(arg);                  rpc = getrpcbyname(arg);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7