diff options
author | Andreas Schwab <schwab@suse.de> | 2012-03-07 16:34:34 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2012-03-07 16:34:34 +0000 |
commit | 2b8a5c596753196f6f6e0748a360f361fee3960b (patch) | |
tree | ab3a81d873205c1cf56b5d18b470f9bfacaff53d /gdb/m68klinux-nat.c | |
parent | 51eee208890b0361af7c6883d8a06810af7c5bb7 (diff) | |
download | gdb-2b8a5c596753196f6f6e0748a360f361fee3960b.tar.gz |
* 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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c index 60e4373c8c6..c7137c0414b 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 |