aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Examples/ex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex2.c')
-rw-r--r--linuxthreads/Examples/ex2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linuxthreads/Examples/ex2.c b/linuxthreads/Examples/ex2.c
index 3f7f115fda..70cb6b3986 100644
--- a/linuxthreads/Examples/ex2.c
+++ b/linuxthreads/Examples/ex2.c
@@ -97,7 +97,7 @@ void * consumer(void * data)
return NULL;
}
-int main()
+int main(void)
{
pthread_t th_a, th_b;
void * retval;
@@ -111,6 +111,3 @@ int main()
pthread_join(th_b, &retval);
return 0;
}
-
-
-