Edit

thodg/libiconv/lib/compat.c

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2023-09-13 19:53:35
    Hash : d01ac199
    Message : Simplify the library: Don't compile relocatable.c any more. The library does not need relocatable.h any more since 2018-09-22. * lib/relocatable.h: Remove file. * lib/relocatable.c: Remove file. * lib/compat.c: New file. * lib/Makefile.in (DEFS): Don't define LIBDIR, BUILDING_DLL, ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate, relocate2. (SOURCES): Remove relocatable.c. Add compat.c. (OBJECTS): Remove relocatable.lo. Add compat.lo. (localcharset.lo): Update dependencies. (relocatable.lo): Remove rule. (compat.lo): Add rule. (SOURCE_FILES): Remove relocatable.h, relocatable.c. Add compat.c.

  • lib/compat.c
  • /*
     * Copyright (C) 2023 Free Software Foundation, Inc.
     * This file is part of the GNU LIBICONV Library.
     *
     * The GNU LIBICONV Library is free software; you can redistribute it
     * and/or modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either version 2.1
     * of the License, or (at your option) any later version.
     *
     * The GNU LIBICONV Library is distributed in the hope that it will be
     * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
     * If not, see <https://www.gnu.org/licenses/>.
     */
    
    #include <iconv.h>
    
    #include "config.h"
    
    /* This file defines symbols for backward compatibility.  */
    
    void libiconv_set_relocation_prefix (const char *orig_prefix,
                                         const char *curr_prefix)
    {
    }