diff options
author | marius <marius@FreeBSD.org> | 2008-04-23 20:38:37 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-04-23 20:38:37 +0000 |
commit | 792d568d6d8f529648c76c67e723a9eabbb350c6 (patch) | |
tree | 6698c36d8e03fe2589ef5938ab2261bfe1cd82f9 /sys/sparc64/include | |
parent | 38e8adf72053670c84a15fd57d641357ec1d4501 (diff) | |
download | FreeBSD-src-792d568d6d8f529648c76c67e723a9eabbb350c6.zip FreeBSD-src-792d568d6d8f529648c76c67e723a9eabbb350c6.tar.gz |
- Include <machine/utrap.h> so this header doesn't have an MD
dependency.
- Make prototypes style(9) compliant.
MFC after: 1 week
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/sysarch.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/sparc64/include/sysarch.h b/sys/sparc64/include/sysarch.h index c209ef8..1f854df 100644 --- a/sys/sparc64/include/sysarch.h +++ b/sys/sparc64/include/sysarch.h @@ -36,6 +36,8 @@ #ifndef _MACHINE_SYSARCH_H_ #define _MACHINE_SYSARCH_H_ +#include <machine/utrap.h> + #define SPARC_UTRAP_INSTALL 1 #define SPARC_SIGTRAMP_INSTALL 2 @@ -61,12 +63,12 @@ struct sparc_utrap_args { #include <sys/cdefs.h> __BEGIN_DECLS -int __sparc_utrap_install(utrap_entry_t type, utrap_handler_t new_precise, - utrap_handler_t new_deferred, - utrap_handler_t *old_precise, - utrap_handler_t *old_deferred); -int sysarch(int, void *); +int __sparc_utrap_install(utrap_entry_t _type, + utrap_handler_t _new_precise, utrap_handler_t _new_deferred, + utrap_handler_t *_old_precise, utrap_handler_t *_old_deferred); +int sysarch(int _number, void *_args); __END_DECLS + #endif #endif /* !_MACHINE_SYSARCH_H_ */ |