diff --git a/glib/Makefile.am b/glib/Makefile.am index 276a60b30..3168b1a4f 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -131,6 +131,7 @@ libglib_2_0_la_SOURCES = \ gbytes.c \ gbytes.h \ gcharset.c \ + gcharsetprivate.h \ gchecksum.c \ gconvert.c \ gdataset.c \ diff --git a/glib/gcharset.c b/glib/gcharset.c index 4f52ab4b3..cb08027f2 100644 --- a/glib/gcharset.c +++ b/glib/gcharset.c @@ -20,7 +20,7 @@ #include "config.h" -#include "gcharset.h" +#include "gcharsetprivate.h" #include "garray.h" #include "genviron.h" diff --git a/glib/gcharsetprivate.h b/glib/gcharsetprivate.h new file mode 100644 index 000000000..17a867f5a --- /dev/null +++ b/glib/gcharsetprivate.h @@ -0,0 +1,33 @@ +/* gunicodeprivate.h + * + * Copyright (C) 2012 Red Hat, Inc. + * + * This 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 of the License, or (at your option) any later version. + * + * This 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 this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __G_CHARSET_PRIVATE_H__ +#define __G_CHARSET_PRIVATE_H__ + +#include "gcharset.h" + +G_BEGIN_DECLS + +G_GNUC_INTERNAL const char ** _g_charset_get_aliases (const char *canonical_name); +; + +G_END_DECLS + +#endif diff --git a/glib/gconvert.c b/glib/gconvert.c index ae25a3251..368bef57c 100644 --- a/glib/gconvert.c +++ b/glib/gconvert.c @@ -43,7 +43,7 @@ #include "gconvert.h" -#include "gcharset.h" +#include "gcharsetprivate.h" #include "gslist.h" #include "gstrfuncs.h" #include "gtestutils.h"