summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_info.c')
-rw-r--r--lib/libpthread/thread/thr_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c
index d091ec1..ca91512 100644
--- a/lib/libpthread/thread/thr_info.c
+++ b/lib/libpthread/thread/thr_info.c
@@ -32,6 +32,7 @@
* $FreeBSD$
*/
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
@@ -296,7 +297,6 @@ _thread_dump_info(void)
/* Close the dump file: */
_thread_sys_close(fd);
}
- return;
}
/* Set the thread name for debug: */
OpenPOWER on IntegriCloud