mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
- Include <machine/utrap.h> so this header doesn't have an MD
dependency. - Make prototypes style(9) compliant. MFC after: 1 week
This commit is contained in:
parent
5db670520f
commit
c2dcc708df
1 changed files with 7 additions and 5 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue