Don't mark g_option_error_quark() as const, to be consistent with all the

2004-11-23  Matthias Clasen  <mclasen@redhat.com>

	* 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)
This commit is contained in:
Matthias Clasen 2004-11-23 18:22:55 +00:00 committed by Matthias Clasen
parent 0680744fbb
commit ea23032ec8
6 changed files with 46 additions and 6 deletions

View File

@ -1,7 +1,15 @@
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* 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 <mclasen@redhat.com>
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.

View File

@ -1,7 +1,15 @@
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* 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 <mclasen@redhat.com>
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.

View File

@ -1,7 +1,15 @@
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* 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 <mclasen@redhat.com>
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.

View File

@ -1,7 +1,15 @@
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* 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 <mclasen@redhat.com>
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.

View File

@ -1,7 +1,15 @@
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* 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 <mclasen@redhat.com>
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.

View File

@ -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