about summary refs log tree commit diff
path: root/csu/dso_handle.c
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 /csu/dso_handle.c
parent72005a5d0d6ad50120a4cac83ca9f71af9c4f21b (diff)
downloadglibc-808e0190f752df65c715ad389a34f27f836534ef.tar.gz
glibc-808e0190f752df65c715ad389a34f27f836534ef.tar.xz
glibc-808e0190f752df65c715ad389a34f27f836534ef.zip
* csu/dso_handle.c (__dso_handle): Mark as const.
Diffstat (limited to 'csu/dso_handle.c')
-rw-r--r--csu/dso_handle.c5
1 files changed, 3 insertions, 2 deletions
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;