summaryrefslogtreecommitdiff
path: root/libguile/socket.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2014-02-08 14:27:49 +0100
committerAndy Wingo <wingo@pobox.com>2014-02-08 14:28:07 +0100
commitb9b88351ea2c4b43a6f90938554dc5693b17e328 (patch)
treed314a8990da3c26b81544c5d1387396e780b3a1e /libguile/socket.h
parent0ce224594ae5a673f6a397c284db5f5a61935334 (diff)
downloadguile-b9b88351ea2c4b43a6f90938554dc5693b17e328.tar.gz
Deprecate htons, htonl, ntohs, ntohl
* libguile/sockets.h: * libguile/sockets.c: * libguile/deprecated.h: * libguile/deprecated.c (scm_htons, scm_htonl, scm_ntohs, scm_ntohl): Deprecate. Bytevectors adequately subsume their functionality. * doc/ref/posix.texi: * test-suite/tests/00-socket.test: Update.
Diffstat (limited to 'libguile/socket.h')
-rw-r--r--libguile/socket.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libguile/socket.h b/libguile/socket.h
index fcddd780d..a211867c6 100644
--- a/libguile/socket.h
+++ b/libguile/socket.h
@@ -3,7 +3,7 @@
#ifndef SCM_SOCKET_H
#define SCM_SOCKET_H
-/* Copyright (C) 1995,1996,1997,2000,2001, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2001, 2004, 2005, 2006, 2008, 2014 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -27,10 +27,6 @@
-SCM_API SCM scm_htons (SCM in);
-SCM_API SCM scm_ntohs (SCM in);
-SCM_API SCM scm_htonl (SCM in);
-SCM_API SCM scm_ntohl (SCM in);
SCM_API SCM scm_inet_aton (SCM address);
SCM_API SCM scm_inet_ntoa (SCM inetid);
SCM_API SCM scm_inet_netof (SCM address);