From ea23032ec80fc3590c8a4bee7b966facdd56529f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 23 Nov 2004 18:22:55 +0000 Subject: [PATCH] Don't mark g_option_error_quark() as const, to be consistent with all the 2004-11-23 Matthias Clasen * glib/goption.h: Don't mark g_option_error_quark() as const, to be consistent with all the other error_quark functions. (technically they are const, but since these are called only in error paths, giving the compiler better optimization opportunities doesn't matter much) --- ChangeLog | 10 +++++++++- ChangeLog.pre-2-10 | 10 +++++++++- ChangeLog.pre-2-12 | 10 +++++++++- ChangeLog.pre-2-6 | 10 +++++++++- ChangeLog.pre-2-8 | 10 +++++++++- glib/goption.h | 2 +- 6 files changed, 46 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0e03561..c729f58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,15 @@ 2004-11-23 Matthias Clasen + * glib/goption.h: Don't mark g_option_error_quark() as const, + to be consistent with all the other error_quark functions. + (technically they are const, but since these are called only + in error paths, giving the compiler better optimization + opportunities doesn't matter much) + +2004-11-23 Matthias Clasen + Fix a problem with the PLT reduction changes which caused the - internal aliases to use all attributes. + internal aliases to lose all attributes. * glib/glib.symbols: Add attribute annotations. * glib/makegalias.pl: Keep attribute annotations, but strip PRIVATE. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0e03561..c729f58 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,7 +1,15 @@ 2004-11-23 Matthias Clasen + * glib/goption.h: Don't mark g_option_error_quark() as const, + to be consistent with all the other error_quark functions. + (technically they are const, but since these are called only + in error paths, giving the compiler better optimization + opportunities doesn't matter much) + +2004-11-23 Matthias Clasen + Fix a problem with the PLT reduction changes which caused the - internal aliases to use all attributes. + internal aliases to lose all attributes. * glib/glib.symbols: Add attribute annotations. * glib/makegalias.pl: Keep attribute annotations, but strip PRIVATE. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 0e03561..c729f58 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,7 +1,15 @@ 2004-11-23 Matthias Clasen + * glib/goption.h: Don't mark g_option_error_quark() as const, + to be consistent with all the other error_quark functions. + (technically they are const, but since these are called only + in error paths, giving the compiler better optimization + opportunities doesn't matter much) + +2004-11-23 Matthias Clasen + Fix a problem with the PLT reduction changes which caused the - internal aliases to use all attributes. + internal aliases to lose all attributes. * glib/glib.symbols: Add attribute annotations. * glib/makegalias.pl: Keep attribute annotations, but strip PRIVATE. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 0e03561..c729f58 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,7 +1,15 @@ 2004-11-23 Matthias Clasen + * glib/goption.h: Don't mark g_option_error_quark() as const, + to be consistent with all the other error_quark functions. + (technically they are const, but since these are called only + in error paths, giving the compiler better optimization + opportunities doesn't matter much) + +2004-11-23 Matthias Clasen + Fix a problem with the PLT reduction changes which caused the - internal aliases to use all attributes. + internal aliases to lose all attributes. * glib/glib.symbols: Add attribute annotations. * glib/makegalias.pl: Keep attribute annotations, but strip PRIVATE. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0e03561..c729f58 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,7 +1,15 @@ 2004-11-23 Matthias Clasen + * glib/goption.h: Don't mark g_option_error_quark() as const, + to be consistent with all the other error_quark functions. + (technically they are const, but since these are called only + in error paths, giving the compiler better optimization + opportunities doesn't matter much) + +2004-11-23 Matthias Clasen + Fix a problem with the PLT reduction changes which caused the - internal aliases to use all attributes. + internal aliases to lose all attributes. * glib/glib.symbols: Add attribute annotations. * glib/makegalias.pl: Keep attribute annotations, but strip PRIVATE. diff --git a/glib/goption.h b/glib/goption.h index fca5802..285bf01 100644 --- a/glib/goption.h +++ b/glib/goption.h @@ -72,7 +72,7 @@ typedef enum G_OPTION_ERROR_FAILED } GOptionError; -GQuark g_option_error_quark (void) G_GNUC_CONST; +GQuark g_option_error_quark (void); struct _GOptionEntry -- 2.7.4