svn commit: r297814 - stable/10/lib/libthr/thread

Konstantin Belousov kib at FreeBSD.org
Mon Apr 11 09:29:10 UTC 2016


Author: kib
Date: Mon Apr 11 09:29:08 2016
New Revision: 297814
URL: https://svnweb.freebsd.org/changeset/base/297814

Log:
  MFC r297535:
  Remove unused variable.

Modified:
  stable/10/lib/libthr/thread/thr_init.c
  stable/10/lib/libthr/thread/thr_private.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libthr/thread/thr_init.c
==============================================================================
--- stable/10/lib/libthr/thread/thr_init.c	Mon Apr 11 08:57:54 2016	(r297813)
+++ stable/10/lib/libthr/thread/thr_init.c	Mon Apr 11 09:29:08 2016	(r297814)
@@ -106,7 +106,6 @@ struct pthread_cond_attr _pthread_condat
 	.c_clockid = CLOCK_REALTIME
 };
 
-pid_t		_thr_pid;
 int		_thr_is_smp = 0;
 size_t		_thr_guard_default;
 size_t		_thr_stack_default = THR_STACK_DEFAULT;

Modified: stable/10/lib/libthr/thread/thr_private.h
==============================================================================
--- stable/10/lib/libthr/thread/thr_private.h	Mon Apr 11 08:57:54 2016	(r297813)
+++ stable/10/lib/libthr/thread/thr_private.h	Mon Apr 11 09:29:08 2016	(r297814)
@@ -704,7 +704,6 @@ extern struct pthread_cond_attr _pthread
 
 extern struct pthread_prio _thr_priorities[] __hidden;
 
-extern pid_t	_thr_pid __hidden;
 extern int	_thr_is_smp __hidden;
 
 extern size_t	_thr_guard_default __hidden;


More information about the svn-src-all mailing list