summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread/preemption
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
commit8deaa5cb1bdad9c4505896866607f4272b307e9a (patch)
treef2b66a24b21f1edc23c12fdb15eab63814fc036d /regress/lib/libpthread/preemption
parent1472e2b5666bd9c64d37882b7cfb2596d9352eb3 (diff)
various cleanups; david says results are same
Diffstat (limited to 'regress/lib/libpthread/preemption')
-rw-r--r--regress/lib/libpthread/preemption/preemption.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libpthread/preemption/preemption.c b/regress/lib/libpthread/preemption/preemption.c
index fad95636763..8f4e9a61762 100644
--- a/regress/lib/libpthread/preemption/preemption.c
+++ b/regress/lib/libpthread/preemption/preemption.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: preemption.c,v 1.3 2003/01/26 22:05:12 marc Exp $ */
+/* $OpenBSD: preemption.c,v 1.4 2003/07/31 21:48:05 deraadt Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -37,8 +37,8 @@
#include <stdlib.h>
#include "test.h"
-void *
-new_thread(void * new_buf)
+static void *
+new_thread(void *new_buf)
{
int i;
@@ -53,7 +53,7 @@ new_thread(void * new_buf)
}
int
-main()
+main(int argc, char *argv[])
{
pthread_t thread;