aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68klinux-nat.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-03-07 16:34:39 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2012-03-07 16:34:39 +0000
commit0c13fc49f4b89453b656caf9675010ddcb9fe3ad (patch)
tree154e47fe2d623a9e1e4effc2360d0b34dbf208c2 /gdb/m68klinux-nat.c
parent519429e1d60a7bd47d242a964a8199e57d6dd7af (diff)
downloadgdb-0c13fc49f4b89453b656caf9675010ddcb9fe3ad.zip
gdb-0c13fc49f4b89453b656caf9675010ddcb9fe3ad.tar.gz
gdb-0c13fc49f4b89453b656caf9675010ddcb9fe3ad.tar.bz2
* m68klinux-nat.c (getregs_supplies): Make static.
(getfpregs_supplies): Likewise. (have_ptrace_getregs): Likewise.
Diffstat (limited to 'gdb/m68klinux-nat.c')
-rw-r--r--gdb/m68klinux-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index 60e4373..c7137c0 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -69,20 +69,20 @@ static const int regmap[] =
#define NUM_GREGS (18)
#define MAX_NUM_REGS (NUM_GREGS + 11)
-int
+static int
getregs_supplies (int regno)
{
return 0 <= regno && regno < NUM_GREGS;
}
-int
+static int
getfpregs_supplies (int regno)
{
return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
}
/* Does the current host support the GETREGS request? */
-int have_ptrace_getregs =
+static int have_ptrace_getregs =
#ifdef HAVE_PTRACE_GETREGS
1
#else