Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/semaphore Function which does not return needs to ...
details: https://anonhg.NetBSD.org/src/rev/e34c0bcc4c3c
branches: trunk
changeset: 755622:e34c0bcc4c3c
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Jun 12 22:59:59 2010 +0000
description:
Function which does not return needs to return a value.
diffstat:
tests/lib/semaphore/sem.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 71e5bf14839d -r e34c0bcc4c3c tests/lib/semaphore/sem.c
--- a/tests/lib/semaphore/sem.c Sat Jun 12 21:25:56 2010 +0000
+++ b/tests/lib/semaphore/sem.c Sat Jun 12 22:59:59 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.2 2010/06/10 22:20:38 pooka Exp $ */
+/* $NetBSD: sem.c,v 1.3 2010/06/12 22:59:59 pooka Exp $ */
/*
* Common code for semaphore tests. This can be included both into
@@ -115,6 +115,8 @@
sem_wait(&semmarit[1]);
sem_wait(&semmarit[0]);
}
+
+ return NULL;
}
ATF_TC_BODY(busydestroy, tc)
Home |
Main Index |
Thread Index |
Old Index