From 0742ff3ae3115b443630c61be7b1b7d806f6b5c5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Aug 2004 20:14:43 +0000 Subject: Add hidden aliases for exported symbols which are used internally in order Mon Aug 9 15:41:17 2004 Matthias Clasen Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gdk/Makefile.am: Add rules to generate gdk.def and gdkalias.h from gdk.symbols, and make make check check the abi with abicheck.sh. * gdk/gdk.symbols: New file. Definition of the GDK ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gdk/abicheck.sh: New file. Script to check the actually symbols exported from libgdk-x11.2.0.so against the symbols found in gdk.symbols. * gdk/makegdkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gdk/*.c, gdk/x11/*.c: Include gdkalias.h --- gdk/gdkrgb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdk/gdkrgb.c') diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 13e034e160..555cf7d1f5 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -36,6 +36,7 @@ #define ENABLE_GRAYSCALE +#include "gdkalias.h" #include "gdkprivate.h" #include "gdkinternals.h" /* _gdk_windowing_get_bits_for_depth() */ -- cgit v1.2.1