summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;