summaryrefslogtreecommitdiff
path: root/libguile/deprecated.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-11-15 20:50:08 +0100
committerLudovic Courtès <ludo@gnu.org>2009-11-16 09:23:47 +0100
commit3452e6667f9c9a83004a38ed146d26aed8c17754 (patch)
treec70e3f92dc4d2d1ec3cc979c65a9443335378e51 /libguile/deprecated.h
parent8912421cf3829a4fd65877fd1255125c191f6f89 (diff)
downloadguile-3452e6667f9c9a83004a38ed146d26aed8c17754.tar.gz
Deprecate `inet-ntoa' and `inet-aton'.
Suggested by Bruno Haible. * libguile/inet_aton.c: Remove. * libguile/Makefile.am (EXTRA_libguile_la_SOURCES): Remove `inet_aton.c'. * libguile/deprecated.c (scm_inet_aton, scm_inet_ntoa): New functions. * libguile/deprecated.h: Update accordingly. * libguile/socket.c (scm_inet_aton, scm_inet_ntoa): Remove. * doc/ref/posix.texi (Network Address Conversion): Mark `inet-ntoa' and `inet-aton' as deprecated.
Diffstat (limited to 'libguile/deprecated.h')
-rw-r--r--libguile/deprecated.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index 5680d09e5..7228a843f 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -541,6 +541,12 @@ SCM_DEPRECATED SCM_STACKITEM *scm_i_stack_base (void);
#define SCM_FLUIDP(x) scm_i_fluidp (x)
SCM_DEPRECATED int scm_i_fluidp (SCM x);
+/* Deprecated in Guile 1.9.5 on 2009-11-15 because these are IPv4-only
+ functions which are deprecated upstream. */
+
+SCM_DEPRECATED SCM scm_inet_aton (SCM address);
+SCM_DEPRECATED SCM scm_inet_ntoa (SCM inetid);
+
/* In the old days, SCM_CRITICAL_SECTION_START stopped signal handlers
from running, since in those days the handler directly ran scheme
code, and that had to be avoided when the heap was not in a