Simplify (and robustify) regular PACKing
[sbcl.git] / src / runtime / sparc-sunos-os.h
index e88eae5..3c72cb3 100644 (file)
@@ -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 */