Don't mark g_option_error_quark() as const, to be consistent with all the
authorMatthias Clasen <mclasen@redhat.com>
Tue, 23 Nov 2004 18:22:55 +0000 (18:22 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 23 Nov 2004 18:22:55 +0000 (18:22 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.h

index 0e03561..c729f58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 0e03561..c729f58 100644 (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.
index 0e03561..c729f58 100644 (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.
index 0e03561..c729f58 100644 (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.
index 0e03561..c729f58 100644 (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.
index fca5802..285bf01 100644 (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