guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 19/21: Remove unused type from ports-internal


From: Andy Wingo
Subject: [Guile-commits] 19/21: Remove unused type from ports-internal
Date: Mon, 16 May 2016 07:39:35 +0000 (UTC)

wingo pushed a commit to branch wip-port-refactor
in repository guile.

commit 745cbb491806929a342c016c73afcdc117f2398b
Author: Andy Wingo <address@hidden>
Date:   Sat May 14 23:46:17 2016 +0200

    Remove unused type from ports-internal
    
    * libguile/ports-internal.h: Remove unused scm_t_port_rw_active.
    * libguile/deprecated.h (scm_port_rw_active): Remove deprecation shim,
      as this thing is just gone now.
---
 libguile/deprecated.h     |    1 -
 libguile/ports-internal.h |    6 ------
 2 files changed, 7 deletions(-)

diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index 04c540e..592dc98 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -115,7 +115,6 @@ SCM_DEPRECATED SCM scm_internal_dynamic_wind (scm_t_guard 
before,
 #define scm_listify scm_listify__GONE__REPLACE_WITH__scm_list_n
 #define scm_option scm_option__GONE__REPLACE_WITH__scm_t_option
 #define scm_port scm_port__GONE__REPLACE_WITH__scm_t_port
-#define scm_port_rw_active 
scm_port_rw_active__GONE__REPLACE_WITH__scm_t_port_rw_active
 #define scm_ptob_descriptor 
scm_ptob_descriptor__GONE__REPLACE_WITH__scm_t_port_type
 #define scm_rng scm_rng__GONE__REPLACE_WITH__scm_t_rng
 #define scm_rstate scm_rstate__GONE__REPLACE_WITH__scm_t_rstate
diff --git a/libguile/ports-internal.h b/libguile/ports-internal.h
index 161213b..54ce3e4 100644
--- a/libguile/ports-internal.h
+++ b/libguile/ports-internal.h
@@ -331,12 +331,6 @@ struct scm_t_port
 #define SCM_DECCOL(port)       do {if (SCM_COL (port) > 0) SCM_COL (port) -= 
1;} while (0)
 #define SCM_TABCOL(port)       do {SCM_COL (port) += 8 - SCM_COL (port) % 8;} 
while (0)
 
-typedef enum scm_t_port_rw_active {
-  SCM_PORT_NEITHER = 0,
-  SCM_PORT_READ = 1,
-  SCM_PORT_WRITE = 2
-} scm_t_port_rw_active;
-
 SCM_INTERNAL scm_t_iconv_descriptors * scm_i_port_iconv_descriptors (SCM port);
 
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]