Fix a couple more coding style nits.

This commit is contained in:
Jason Evans 1999-07-11 06:06:52 +00:00
parent 34582929f1
commit 66da783384
5 changed files with 12 additions and 12 deletions

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: uthread_create.c,v 1.15 1999/07/06 00:25:36 jasone Exp $
* $Id: uthread_create.c,v 1.16 1999/07/11 05:56:36 jasone Exp $
*/
#include <errno.h>
#include <stdlib.h>
@ -81,7 +81,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr,
}
/* Allocate memory for a default-size stack: */
else if (pattr->stacksize_attr == PTHREAD_STACK_DEFAULT) {
struct stack * spare_stack;
struct stack *spare_stack;
/* Allocate or re-use a default-size stack. */

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: uthread_gc.c,v 1.6 1999/07/06 00:25:37 jasone Exp $
* $Id: uthread_gc.c,v 1.7 1999/07/11 05:56:37 jasone Exp $
*
* Garbage collector thread. Frees memory allocated for dead threads.
*
@ -140,7 +140,7 @@ _thread_gc(pthread_addr_t arg)
* Default-size stack. Cache
* it:
*/
struct stack * spare_stack;
struct stack *spare_stack;
spare_stack
= (pthread->stack
@ -181,7 +181,7 @@ _thread_gc(pthread_addr_t arg)
* Default-size stack. Cache
* it:
*/
struct stack * spare_stack;
struct stack *spare_stack;
spare_stack
= (pthread->stack

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: uthread_create.c,v 1.15 1999/07/06 00:25:36 jasone Exp $
* $Id: uthread_create.c,v 1.16 1999/07/11 05:56:36 jasone Exp $
*/
#include <errno.h>
#include <stdlib.h>
@ -81,7 +81,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr,
}
/* Allocate memory for a default-size stack: */
else if (pattr->stacksize_attr == PTHREAD_STACK_DEFAULT) {
struct stack * spare_stack;
struct stack *spare_stack;
/* Allocate or re-use a default-size stack. */

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: uthread_create.c,v 1.15 1999/07/06 00:25:36 jasone Exp $
* $Id: uthread_create.c,v 1.16 1999/07/11 05:56:36 jasone Exp $
*/
#include <errno.h>
#include <stdlib.h>
@ -81,7 +81,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr,
}
/* Allocate memory for a default-size stack: */
else if (pattr->stacksize_attr == PTHREAD_STACK_DEFAULT) {
struct stack * spare_stack;
struct stack *spare_stack;
/* Allocate or re-use a default-size stack. */

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: uthread_gc.c,v 1.6 1999/07/06 00:25:37 jasone Exp $
* $Id: uthread_gc.c,v 1.7 1999/07/11 05:56:37 jasone Exp $
*
* Garbage collector thread. Frees memory allocated for dead threads.
*
@ -140,7 +140,7 @@ _thread_gc(pthread_addr_t arg)
* Default-size stack. Cache
* it:
*/
struct stack * spare_stack;
struct stack *spare_stack;
spare_stack
= (pthread->stack
@ -181,7 +181,7 @@ _thread_gc(pthread_addr_t arg)
* Default-size stack. Cache
* it:
*/
struct stack * spare_stack;
struct stack *spare_stack;
spare_stack
= (pthread->stack