about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex5.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex5.c')
-rw-r--r--linuxthreads/Examples/ex5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/Examples/ex5.c b/linuxthreads/Examples/ex5.c
index 366668eb8c..475de0e0c5 100644
--- a/linuxthreads/Examples/ex5.c
+++ b/linuxthreads/Examples/ex5.c
@@ -86,7 +86,7 @@ void * consumer(void * data)
   return NULL;
 }
 
-int main()
+int main(void)
 {
   pthread_t th_a, th_b;
   void * retval;