git: 8c8882ce9673 - main - libc/iconv: don't export nonexistant symbols

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 20:12:38 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=8c8882ce96738f474ac1c537b878be12b2f466ce

commit 8c8882ce96738f474ac1c537b878be12b2f466ce
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-07 20:08:38 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-07 20:12:22 +0000

    libc/iconv: don't export nonexistant symbols
    
    It's unclear to me that any of these symbols ever existed.  The ones
    I've spot checked are only mentioned in the initial Citrus iconv import
    (commit ad30f8e79bd1) and this code hasn't changed much over time.
    
    Reviewed by:    kevans
    Differential Revision:  https://reviews.freebsd.org/D44183
---
 lib/libc/iconv/Symbol.map | 38 --------------------------------------
 1 file changed, 38 deletions(-)

diff --git a/lib/libc/iconv/Symbol.map b/lib/libc/iconv/Symbol.map
index 49dd63aca9da..d36e0733a4f0 100644
--- a/lib/libc/iconv/Symbol.map
+++ b/lib/libc/iconv/Symbol.map
@@ -15,15 +15,6 @@ FBSD_1.3 {
 FBSDprivate_1.0 {
 	_citrus_bcs_convert_to_lower;
 	_citrus_bcs_convert_to_upper;
-	_citrus_bcs_isalnum;
-	_citrus_bcs_isalpha;
-	_citrus_bcs_isblank;
-	_citrus_bcs_isdigit;
-	_citrus_bcs_iseol;
-	_citrus_bcs_islower;
-	_citrus_bcs_isspace;
-	_citrus_bcs_isupper;
-	_citrus_bcs_isxdigit;
 	_citrus_bcs_skip_nonws;
 	_citrus_bcs_skip_nonws_len;
 	_citrus_bcs_skip_ws;
@@ -32,12 +23,8 @@ FBSDprivate_1.0 {
 	_citrus_bcs_strncasecmp;
 	_citrus_bcs_strtol;
 	_citrus_bcs_strtoul;
-	_citrus_bcs_tolower;
-	_citrus_bcs_toupper;
 	_citrus_bcs_trunc_rws_len;
-	_citrus_bcs_trunc_ws_len;
 	_citrus_csmapper_open;
-	_citrus_csmapper_close;
 	_citrus_db_factory_add_by_string;
 	_citrus_db_factory_add_string_by_string;
 	_citrus_db_factory_add32_by_string;
@@ -59,41 +46,16 @@ FBSDprivate_1.0 {
 	_citrus_lookup_factory_convert;
 	_citrus_map_file;
 	_citrus_mapper_close;
-	_citrus_mapper_convert;
 	_citrus_mapper_create_area;
-	_citrus_mapper_get_dst_max;
-	_citrus_mapper_get_src_max;
-	_citrus_mapper_get_state_size;
-	_citrus_mapper_init_state;
 	_citrus_mapper_open;
 	_citrus_mapper_open_direct;
 	_citrus_mapper_set_persistent;
-	_citrus_memory_stream_bind;
 	_citrus_memory_stream_chr;
-	_citrus_memory_stream_getc;
 	_citrus_memory_stream_getln;
-	_citrus_memory_stream_getln_region;
-	_citrus_memory_stream_getregion;
-	_citrus_memory_stream_iseof;
 	_citrus_memory_stream_matchline;
-	_citrus_memory_stream_peek;
-	_citrus_memory_stream_remainder;
-	_citrus_memory_stream_rewind;
-	_citrus_memory_stream_seek;
 	_citrus_memory_stream_skip_ws;
-	_citrus_memory_stream_tell;
-	_citrus_memory_stream_ungetc;
 	_citrus_pivot_factory_convert;
-	_citrus_prop_object_init;
-	_citrus_prop_object_uninit;
 	_citrus_prop_parse_variable;
-	_citrus_prop_read_bool;
-	_citrus_prop_read_character;
-	_citrus_prop_read_character_common;
-	_citrus_prop_read_element;
-	_citrus_prop_read_num;
-	_citrus_prop_read_str;
-	_citrus_prop_read_symbol;
 	_citrus_stdenc_close;
 	_citrus_stdenc_open;
 	_citrus_unmap_file;