diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-12 14:01:26 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-12 14:01:26 +0200 |
commit | fc7bd367ab4b5027a7f80686b1e229c62e43c90b (patch) | |
tree | 0ff3275d1af3f78702c25b98c9240e3a81f4be0f /libguile/ports.c | |
parent | 7fbea320fb03be945e2f34ed06667f0e000563a6 (diff) | |
download | guile-fc7bd367ab4b5027a7f80686b1e229c62e43c90b.tar.gz |
remove all deprecated code
* libguile/async.c:
* libguile/async.h:
* libguile/debug.h:
* libguile/deprecated.c:
* libguile/deprecated.h:
* libguile/evalext.h:
* libguile/gc-malloc.c:
* libguile/gc.h:
* libguile/gen-scmconfig.c:
* libguile/numbers.c:
* libguile/ports.c:
* libguile/ports.h:
* libguile/procprop.c:
* libguile/procprop.h:
* libguile/read.c:
* libguile/socket.c:
* libguile/srfi-4.h:
* libguile/strings.c:
* libguile/strings.h:
* libguile/tags.h:
* module/ice-9/boot-9.scm:
* module/ice-9/deprecated.scm: Remove all deprecated code. CPP defines
that were not previously issuing warnings were changed so that their
expansions would indicate the replacement forms to use,
e.g. scm_sizet__GONE__REPLACE_WITH__size_t.
The two exceptions were SCM_LISTN, which did not produce warnings
before, and the string-filter argument order stuff.
Drops the initial dirty memory usage of Guile down to 2.8 MB on my
machine, from 4.4 MB.
Diffstat (limited to 'libguile/ports.c')
-rw-r--r-- | libguile/ports.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libguile/ports.c b/libguile/ports.c index 926149bf9..858c3dd54 100644 --- a/libguile/ports.c +++ b/libguile/ports.c @@ -621,29 +621,6 @@ scm_new_port_table_entry (scm_t_bits tag) } #undef FUNC_NAME -#if SCM_ENABLE_DEPRECATED==1 -scm_t_port * -scm_add_to_port_table (SCM port) -{ - SCM z; - scm_t_port * pt; - - scm_c_issue_deprecation_warning ("scm_add_to_port_table is deprecated."); - - scm_i_pthread_mutex_lock (&scm_i_port_table_mutex); - z = scm_new_port_table_entry (scm_tc7_port); - pt = SCM_PTAB_ENTRY(z); - pt->port = port; - SCM_SETCAR (z, SCM_EOL); - SCM_SETCDR (z, SCM_EOL); - SCM_SETPTAB_ENTRY (port, pt); - scm_i_pthread_mutex_unlock (&scm_i_port_table_mutex); - - return pt; -} -#endif - - /* Remove a port from the table and destroy it. */ static void |