about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/dl-runtime.c4
-rw-r--r--sysdeps/i386/dl-machine.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index ab177b826a..56d2371537 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -1,5 +1,5 @@
 /* On-demand PLT fixup for shared objects.
-   Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1995-2002,2003,2004,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
@@ -129,7 +129,7 @@ _dl_profile_fixup (
 		   ELF_MACHINE_RUNTIME_FIXUP_ARGS,
 #endif
 		   struct link_map *l, ElfW(Word) reloc_offset,
-		   ElfW(Addr) retaddr, const void *regs, long int *framesizep)
+		   ElfW(Addr) retaddr, void *regs, long int *framesizep)
 {
   void (*mcount_fct) (ElfW(Addr), ElfW(Addr)) = INTUSE(_dl_mcount);
 
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index b7fd448ef6..fa65473573 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -162,7 +162,7 @@ extern ElfW(Addr) _dl_fixup (struct link_map *__unbounded l,
      ARCH_FIXUP_ATTRIBUTE;
 extern ElfW(Addr) _dl_profile_fixup (struct link_map *l,
 				     ElfW(Word) reloc_offset,
-				     ElfW(Addr) retaddr, const void *regs,
+				     ElfW(Addr) retaddr, void *regs,
 				     long int *framesizep)
      ARCH_FIXUP_ATTRIBUTE;
 # endif