summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-21 04:27:56 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-21 04:27:56 +0000
commit808e0190f752df65c715ad389a34f27f836534ef (patch)
tree144c374490419bf461418f544af83cfdac30b065
parent72005a5d0d6ad50120a4cac83ca9f71af9c4f21b (diff)
downloadglibc-808e0190f752df65c715ad389a34f27f836534ef.tar.gz
glibc-808e0190f752df65c715ad389a34f27f836534ef.tar.xz
glibc-808e0190f752df65c715ad389a34f27f836534ef.zip
* csu/dso_handle.c (__dso_handle): Mark as const.
-rw-r--r--ChangeLog2
-rw-r--r--csu/dso_handle.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 829b9ad87b..d001d774af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-12-20  Ulrich Drepper  <drepper@redhat.com>
 
+	* csu/dso_handle.c (__dso_handle): Mark as const.
+
 	* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
 	* intl/plural-exp.h: Adjust declaration of
 	__gettext_germanic_plural.
diff --git a/csu/dso_handle.c b/csu/dso_handle.c
index 04ed078625..72f80889d7 100644
--- a/csu/dso_handle.c
+++ b/csu/dso_handle.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,4 +18,5 @@
 
 /* We have to define __dso_handle ourselves since we do not use gcc's
    crtbegin files.  */
-void *__dso_handle __attribute__ ((__visibility__ ("hidden"))) = &__dso_handle;
+void *const __dso_handle __attribute__ ((__visibility__ ("hidden")))
+  = &__dso_handle;