]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
No need to list the exported functions: we now use -Wl,--export-all-symbols.
authorBruno Haible <bruno@clisp.org>
Thu, 11 May 2006 18:18:03 +0000 (18:18 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:17 +0000 (12:13 +0200)
gettext-tools/cygwin/export.h
gettext-tools/cygwin/gettextlib-exports.c
gettext-tools/cygwin/gettextpo-exports.c
gettext-tools/cygwin/gettextsrc-exports.c

index 4c924e71f9006dfa14c6476b7914e76b0fc547de..9f3e791a5ae6d7b79b6a5250d9e8612a456d9c60 100644 (file)
   extern int x;                                                                \
   void * IMP(x) = &x;
 
- /* Ensure that the function x is exported from the library.  */
-# define FUNCTION(x) \
-  /* Export x without redefining x.  This code was found by compiling a        \
-     snippet:                                                          \
-       extern __declspec(dllexport) void x (void);  */                 \
-  asm (".section .drectve\n");                                         \
-  asm (".ascii \" -export:" #x "\"\n");                                        \
-  asm (".data\n");
-
 #else
   /* Compiling for a static library.  */
 
 # define VARIABLE(x)
-# define FUNCTION(x)
 
 #endif
index 4e217671586a6f7aa68beb05987ca1eab8233d77..f16931f92d700cff00bf293233848ae24593562b 100644 (file)
@@ -28,70 +28,3 @@ VARIABLE(program_name)
 VARIABLE(rpl_optarg)
 VARIABLE(rpl_optind)
 VARIABLE(simple_backup_suffix)
-
-#if 0 /* not needed - we use --export-all-symbols */
-FUNCTION(_obstack_begin)
-FUNCTION(_obstack_newchunk)
-FUNCTION(concatenated_pathname)
-FUNCTION(c_strcasecmp)
-FUNCTION(c_strncasecmp)
-FUNCTION(cleanup_temp_dir)
-FUNCTION(close_stdout)
-FUNCTION(compile_csharp_class)
-FUNCTION(compile_java_class)
-FUNCTION(copy_file_preserving)
-FUNCTION(create_pipe_bidi)
-FUNCTION(create_pipe_in)
-FUNCTION(create_pipe_out)
-FUNCTION(create_temp_dir)
-FUNCTION(dequeue_temp_file)
-FUNCTION(dequeue_temp_subdir)
-FUNCTION(enqueue_temp_file)
-FUNCTION(enqueue_temp_subdir)
-FUNCTION(error)
-FUNCTION(error_at_line)
-FUNCTION(execute)
-FUNCTION(execute_csharp_program)
-FUNCTION(execute_java_class)
-FUNCTION(find_backup_file_name)
-FUNCTION(find_in_path)
-FUNCTION(freesa)
-FUNCTION(fstrcmp)
-FUNCTION(full_write)
-FUNCTION(fwriteerror)
-FUNCTION(gcd)
-FUNCTION(gnu_basename)
-FUNCTION(gnu_getline)
-FUNCTION(gnu_stpncpy)
-FUNCTION(hash_destroy)
-FUNCTION(hash_find_entry)
-FUNCTION(hash_init)
-FUNCTION(hash_insert_entry)
-FUNCTION(hash_iterate)
-FUNCTION(hash_iterate_modify)
-FUNCTION(hash_set_value)
-FUNCTION(iconv_string)
-FUNCTION(maybe_print_progname)
-FUNCTION(mbs_width_linebreaks)
-FUNCTION(multiline_error)
-FUNCTION(multiline_warning)
-FUNCTION(next_prime)
-FUNCTION(obstack_free)
-FUNCTION(proper_name)
-FUNCTION(proper_name_utf8)
-FUNCTION(rpl_getopt_long)
-FUNCTION(set_program_name)
-FUNCTION(shell_quote_argv)
-FUNCTION(stpcpy)
-FUNCTION(uc_width)
-FUNCTION(wait_subprocess)
-FUNCTION(xalloc_die)
-FUNCTION(xasprintf)
-FUNCTION(xcalloc)
-FUNCTION(xget_version)
-FUNCTION(xmalloc)
-FUNCTION(xmallocsa)
-FUNCTION(xrealloc)
-FUNCTION(xsetenv)
-FUNCTION(xstrdup)
-#endif
index 48ba6f2746005b08f7141ed18fa9270afb8ea7fc..f47146787c280ee998fd7e924338d3f53f7a0301 100644 (file)
 #include "cygwin/export.h"
 
 VARIABLE(libgettextpo_version)
-
-#if 0 /* not needed - we use --export-all-symbols */
-FUNCTION(po_file_check_all)
-FUNCTION(po_file_create)
-FUNCTION(po_file_domain_header)
-FUNCTION(po_file_domains)
-FUNCTION(po_file_free)
-FUNCTION(po_file_read)
-FUNCTION(po_file_read_v2)
-FUNCTION(po_file_read_v3)
-FUNCTION(po_file_write)
-FUNCTION(po_file_write_v2)
-FUNCTION(po_filepos_file)
-FUNCTION(po_filepos_start_line)
-FUNCTION(po_header_field)
-FUNCTION(po_header_set_field)
-FUNCTION(po_message_add_filepos)
-FUNCTION(po_message_check_all)
-FUNCTION(po_message_check_format)
-FUNCTION(po_message_check_format_v2)
-FUNCTION(po_message_comments)
-FUNCTION(po_message_create)
-FUNCTION(po_message_extracted_comments)
-FUNCTION(po_message_filepos)
-FUNCTION(po_message_insert)
-FUNCTION(po_message_is_format)
-FUNCTION(po_message_is_fuzzy)
-FUNCTION(po_message_is_obsolete)
-FUNCTION(po_message_iterator)
-FUNCTION(po_message_iterator_free)
-FUNCTION(po_message_msgctxt)
-FUNCTION(po_message_msgid)
-FUNCTION(po_message_msgid_plural)
-FUNCTION(po_message_msgstr)
-FUNCTION(po_message_msgstr_plural)
-FUNCTION(po_message_remove_filepos)
-FUNCTION(po_message_set_comments)
-FUNCTION(po_message_set_extracted_comments)
-FUNCTION(po_message_set_format)
-FUNCTION(po_message_set_fuzzy)
-FUNCTION(po_message_set_msgctxt)
-FUNCTION(po_message_set_msgid)
-FUNCTION(po_message_set_msgid_plural)
-FUNCTION(po_message_set_msgstr)
-FUNCTION(po_message_set_msgstr_plural)
-FUNCTION(po_message_set_obsolete)
-FUNCTION(po_next_message)
-#endif
index 07c3e7d0c0fb04928bbb24d20663dabf4935cf97..cac98e92437aad97fb9b153f3999fe1bf7a2af87 100644 (file)
@@ -67,95 +67,3 @@ VARIABLE(po_multiline_warning)
 VARIABLE(po_xerror)
 VARIABLE(po_xerror2)
 VARIABLE(use_first)
-
-#if 0 /* not needed - we use --export-all-symbols */
-FUNCTION(catenate_msgdomain_list)
-FUNCTION(check_message)
-FUNCTION(check_message_list)
-FUNCTION(check_msgid_msgstr_format)
-FUNCTION(compare_po_locale_charsets)
-FUNCTION(convert_string)
-FUNCTION(default_add_message)
-FUNCTION(default_comment)
-FUNCTION(default_comment_dot)
-FUNCTION(default_comment_filepos)
-FUNCTION(default_comment_special)
-FUNCTION(default_constructor)
-FUNCTION(default_destructor)
-FUNCTION(default_directive_domain)
-FUNCTION(default_directive_message)
-FUNCTION(default_parse_brief)
-FUNCTION(default_parse_debrief)
-FUNCTION(default_po_reader_alloc)
-FUNCTION(default_set_domain)
-FUNCTION(dir_list_append)
-FUNCTION(dir_list_nth)
-FUNCTION(dir_list_restore)
-FUNCTION(dir_list_save_reset)
-FUNCTION(extract_plural_expression)
-FUNCTION(fuzzy_search_goal_function)
-FUNCTION(get_python_format_unnamed_arg_count)
-FUNCTION(get_sysdep_c_format_directives)
-FUNCTION(iconv_message_list)
-FUNCTION(iconv_msgdomain_list)
-FUNCTION(is_ascii_message_list)
-FUNCTION(is_ascii_msgdomain_list)
-FUNCTION(is_ascii_string)
-FUNCTION(message_alloc)
-FUNCTION(message_comment_append)
-FUNCTION(message_comment_dot_append)
-FUNCTION(message_comment_filepos)
-FUNCTION(message_copy)
-FUNCTION(message_list_alloc)
-FUNCTION(message_list_append)
-FUNCTION(message_list_free)
-FUNCTION(message_list_insert_at)
-FUNCTION(message_list_list_alloc)
-FUNCTION(message_list_list_append)
-FUNCTION(message_list_list_append_list)
-FUNCTION(message_list_list_free)
-FUNCTION(message_list_list_search)
-FUNCTION(message_list_prepend)
-FUNCTION(message_list_remove_if_not)
-FUNCTION(message_list_search)
-FUNCTION(message_list_search_fuzzy)
-FUNCTION(message_page_width_ignore)
-FUNCTION(message_page_width_set)
-FUNCTION(message_print_style_escape)
-FUNCTION(message_print_style_indent)
-FUNCTION(message_print_style_uniforum)
-FUNCTION(message_print_syntax_properties)
-FUNCTION(message_print_syntax_stringtable)
-FUNCTION(msgdomain_list_alloc)
-FUNCTION(msgdomain_list_english)
-FUNCTION(msgdomain_list_equal)
-FUNCTION(msgdomain_list_free)
-FUNCTION(msgdomain_list_print)
-FUNCTION(msgdomain_list_sort_by_filepos)
-FUNCTION(msgdomain_list_sort_by_msgid)
-FUNCTION(msgdomain_list_sublist)
-FUNCTION(open_po_file)
-FUNCTION(possible_format_p)
-FUNCTION(po_charset_canonicalize)
-FUNCTION(po_charset_character_iterator)
-FUNCTION(po_gram_error_at_line)
-FUNCTION(po_lex_pass_obsolete_entries)
-FUNCTION(po_parse_comment_special)
-FUNCTION(po_reader_alloc)
-FUNCTION(po_reader_free)
-FUNCTION(po_scan)
-FUNCTION(po_strftime)
-FUNCTION(read_names_from_file)
-FUNCTION(read_po)
-FUNCTION(read_po_file)
-FUNCTION(string_list_alloc)
-FUNCTION(string_list_append)
-FUNCTION(string_list_append_unique)
-FUNCTION(string_list_destroy)
-FUNCTION(string_list_free)
-FUNCTION(string_list_init)
-FUNCTION(string_list_join)
-FUNCTION(string_list_member)
-FUNCTION(textmode_xerror)
-FUNCTION(textmode_xerror2)
-#endif