From: Matthias Clasen Date: Tue, 23 Nov 2004 18:22:55 +0000 (+0000) Subject: Don't mark g_option_error_quark() as const, to be consistent with all the X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ea23032ec80fc3590c8a4bee7b966facdd56529f;p=dana%2Fcg-glib.git 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) --- diff --git a/ChangeLog b/ChangeLog index 0e03561a..c729f588 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 0e03561a..c729f588 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 0e03561a..c729f588 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 0e03561a..c729f588 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 0e03561a..c729f588 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 fca5802d..285bf019 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