From 47c6b75ea980821737e8030190d24b9aa30e978d Mon Sep 17 00:00:00 2001 From: "Greg J. Badros" Date: Wed, 5 Jan 2000 19:00:03 +0000 Subject: * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for better consistency with the names of other SCM_VALIDATE_ macros and better conformance to guile naming policy. --- libguile/net_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libguile/net_db.c') diff --git a/libguile/net_db.c b/libguile/net_db.c index bbd21d86d..9cdf52ba3 100644 --- a/libguile/net_db.c +++ b/libguile/net_db.c @@ -175,8 +175,8 @@ with the local-address-within-network number @var{lna}. unsigned long netnum; unsigned long lnanum; - SCM_VALIDATE_INT_COPY(1,net,netnum); - SCM_VALIDATE_INT_COPY(2,lna,lnanum); + SCM_VALIDATE_INUM_COPY(1,net,netnum); + SCM_VALIDATE_INUM_COPY(2,lna,lnanum); addr = inet_makeaddr (netnum, lnanum); return scm_ulong2num (ntohl (addr.s_addr)); } @@ -475,7 +475,7 @@ as its first argument; if given no arguments, it behaves like } else { - SCM_VALIDATE_INT(1,name); + SCM_VALIDATE_INUM(1,name); entry = getservbyport (htons (SCM_INUM (name)), SCM_ROCHARS (proto)); } if (!entry) -- cgit v1.2.3