* [PATCH] parisc: fix `struct pt_regs' declared inside parameter list warning
@ 2009-01-13 19:52 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2009-01-13 19:52 UTC (permalink / raw)
To: Kyle McMartin, linux-parisc
Fix those compile warnings:
uaccess.h:244: warning: `struct pt_regs' declared inside parameter list
uaccess.h:244: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/include/asm/uaccess.h b/arch/parisc/include/asm/uaccess.h
index 1c6dbb6..cd4c0b2 100644
--- a/arch/parisc/include/asm/uaccess.h
+++ b/arch/parisc/include/asm/uaccess.h
@@ -241,6 +241,7 @@ unsigned long copy_in_user(void __user *dst, const void __user *src, unsigned lo
#define __copy_to_user_inatomic __copy_to_user
#define __copy_from_user_inatomic __copy_from_user
+struct pt_regs;
int fixup_exception(struct pt_regs *regs);
#endif /* __PARISC_UACCESS_H */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-13 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 19:52 [PATCH] parisc: fix `struct pt_regs' declared inside parameter list warning Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox