X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-sunos-os.h;h=3c72cb33dd6f9e47cc56cce1aacfa3a62ac7d882;hb=4ba392170e98744f0ef0b8e08a5d42b988f1d0c9;hp=e88eae58e798baf2fdda0cf013761afd3e0b783f;hpb=0d669e68a1ffbea42af6216f2ae8c7d7ca12ffb6;p=sbcl.git diff --git a/src/runtime/sparc-sunos-os.h b/src/runtime/sparc-sunos-os.h index e88eae5..3c72cb3 100644 --- a/src/runtime/sparc-sunos-os.h +++ b/src/runtime/sparc-sunos-os.h @@ -2,10 +2,12 @@ #define _SPARC_SOLARIS_OS_H typedef ucontext_t os_context_t; +typedef int os_context_register_t ; -static inline os_context_t *arch_os_get_context(void **void_context) { - asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */ - return (os_context_t *) (*void_context); +static inline os_context_t *arch_os_get_context(void **void_context) +{ + asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */ + return (os_context_t *) (*void_context); } #endif /* _SPARC_SOLARIS_OS_H */