diff options
author | Keisuke Nishida <kxn30@po.cwru.edu> | 2001-06-28 01:11:59 +0000 |
---|---|---|
committer | Keisuke Nishida <kxn30@po.cwru.edu> | 2001-06-28 01:11:59 +0000 |
commit | 1afff620541041a7b680a85fee6d641092091b7c (patch) | |
tree | 02eb8dd8e195a47339873520221b04dfc46a13b9 /libguile/net_db.c | |
parent | 02d9f388177fc440ad7648544cfd1034ca0bbd13 (diff) | |
download | guile-1afff620541041a7b680a85fee6d641092091b7c.tar.gz |
* list.h (scm_list_1, scm_list_2, scm_list_3, scm_list_4, scm_list_5,
scm_list_n): New functions.
(SCM_LIST0, SCM_LIST1, SCM_LIST2, SCM_LIST3, SCM_LIST4, SCM_LIST5,
SCM_LIST6, SCM_LIST7, SCM_LIST8, SCM_LIST9, scm_listify): Deprecated.
(lots of files): Use the new functions.
* goops.c (CALL_GF1, CALL_GF2, CALL_GF3, CALL_GF4): Use scm_call_N.
* strings.c: #include "libguile/deprecation.h".
Diffstat (limited to 'libguile/net_db.c')
-rw-r--r-- | libguile/net_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/net_db.c b/libguile/net_db.c index 974ba888c..8bf5a312a 100644 --- a/libguile/net_db.c +++ b/libguile/net_db.c @@ -260,7 +260,7 @@ SCM_DEFINE (scm_getnet, "getnet", 0, 1, 0, entry = getnetbyaddr (netnum, AF_INET); } if (!entry) - SCM_SYSERROR_MSG ("no such network ~A", SCM_LIST1 (net), errno); + SCM_SYSERROR_MSG ("no such network ~A", scm_list_1 (net), errno); ve[0] = scm_mem2string (entry->n_name, strlen (entry->n_name)); ve[1] = scm_makfromstrs (-1, entry->n_aliases); ve[2] = SCM_MAKINUM (entry->n_addrtype + 0L); @@ -310,7 +310,7 @@ SCM_DEFINE (scm_getproto, "getproto", 0, 1, 0, entry = getprotobynumber (protonum); } if (!entry) - SCM_SYSERROR_MSG ("no such protocol ~A", SCM_LIST1 (protocol), errno); + SCM_SYSERROR_MSG ("no such protocol ~A", scm_list_1 (protocol), errno); ve[0] = scm_mem2string (entry->p_name, strlen (entry->p_name)); ve[1] = scm_makfromstrs (-1, entry->p_aliases); ve[2] = SCM_MAKINUM (entry->p_proto + 0L); @@ -374,7 +374,7 @@ SCM_DEFINE (scm_getserv, "getserv", 0, 2, 0, entry = getservbyport (htons (SCM_INUM (name)), SCM_STRING_CHARS (protocol)); } if (!entry) - SCM_SYSERROR_MSG("no such service ~A", SCM_LIST1 (name), errno); + SCM_SYSERROR_MSG("no such service ~A", scm_list_1 (name), errno); return scm_return_entry (entry); } #undef FUNC_NAME |