summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/ptrace.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@hh.iij4u.or.jp>2005-04-29 16:13:35 +0100
committer <dwmw2@shinybook.infradead.org>2005-04-29 16:13:35 +0100
commit67eb81e1686f44bcf8f005b296213fd2c21b4719 (patch)
tree107fdcf93e592dec9052943c025a179b11b41cd4 /arch/mips/kernel/ptrace.c
parent3ac3ed555bec5b1f92bb22cb94823a0e99d0f320 (diff)
downloadblackbird-obmc-linux-67eb81e1686f44bcf8f005b296213fd2c21b4719.tar.gz
blackbird-obmc-linux-67eb81e1686f44bcf8f005b296213fd2c21b4719.zip
mips: warning fix audit_arch()
arch/mips/kernel/ptrace.c:305: warning: function declaration isn't a prototype Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
-rw-r--r--arch/mips/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index eaf7be9d0b0a..4abc2ee53b46 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -300,7 +300,7 @@ out:
return ret;
}
-static inline int audit_arch()
+static inline int audit_arch(void)
{
#ifdef CONFIG_CPU_LITTLE_ENDIAN
#ifdef CONFIG_MIPS64
OpenPOWER on IntegriCloud