summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-14 07:17:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-14 07:17:48 -0700
commita6ee9c3ac657e479d338df1b298704ba09c7066e (patch)
tree86b4746725934e5740b552dfd51c4cf04e9da94e /stream.h
parent2f989999779dbd9b2b91819317beda6a2560570c (diff)
downloadtxr-a6ee9c3ac657e479d338df1b298704ba09c7066e.tar.gz
txr-a6ee9c3ac657e479d338df1b298704ba09c7066e.tar.bz2
txr-a6ee9c3ac657e479d338df1b298704ba09c7066e.zip
Make open_socket static and register in socket.c.
* lisplib.c (sock_set_entries): Add auto-load entry for open-socket. * socket.c (open_socket): Change to static. (sock_load_init): Register open-socket intrinsic here rather than in stream.c. * stream.c (stream_init): Remove registration of open-socket intrinsic. * stream.h (open_socket): Declaration removed.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/stream.h b/stream.h
index a5275b63..920cdf3e 100644
--- a/stream.h
+++ b/stream.h
@@ -191,9 +191,6 @@ val get_string(val stream, val nchars, val close_after_p);
val open_directory(val path);
val open_file(val path, val mode_str);
val open_fileno(val fd, val mode_str);
-#if HAVE_SOCKETS
-val open_socket(val family, val type, val mode_str);
-#endif
val open_tail(val path, val mode_str, val seek_end_p);
val open_command(val path, val mode_str);
val open_process(val path, val mode_str, val args);