LDAP_BEGIN_DECL
+stkalign_t *get_stack( int *stacknop );
+void free_stack( int *stackno );
+
typedef void *(*VFP)();
/* thread attributes and thread type */
* *
*************/
-extern stkalign_t *get_stack();
-static void lwp_create_stack();
-
int
pthread_attr_init( pthread_attr_t *attr )
{
return( 0 );
}
+static void
+lwp_create_stack( VFP func, void *arg, int stackno )
+{
+ (*func)( arg );
+
+ free_stack( stackno );
+}
+
/* ARGSUSED */
int
pthread_create(
arg, stackno ) );
}
-static void
-lwp_create_stack( VFP func, void *arg, int stackno )
-{
- (*func)( arg );
-
- free_stack( stackno );
-}
-
void
pthread_yield()
{