gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 9 Nov 2011 02:21:54 +0000 (02:21 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 9 Nov 2011 02:21:54 +0000 (02:21 +0000)
* amd64-tdep.c (amd64_relocate_instruction): Make it static.

gdb/ChangeLog
gdb/amd64-tdep.c

index e003f39..ebe03be 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-08  Yao Qi  <yao@codesourcery.com>
+
+       * amd64-tdep.c (amd64_relocate_instruction): Make it static.
+
 2011-11-08  Meador Inge  <meadori@codesourcery.com>
 
        * arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP
index b85f255..bd31e54 100644 (file)
@@ -1551,7 +1551,7 @@ append_insns (CORE_ADDR *to, ULONGEST len, const gdb_byte *buf)
   *to += len;
 }
 
-void
+static void
 amd64_relocate_instruction (struct gdbarch *gdbarch,
                            CORE_ADDR *to, CORE_ADDR oldloc)
 {