Make test2/test1 static in libitm.c/stackundo.c
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 15 Jan 2015 18:03:20 +0000 (18:03 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 15 Jan 2015 18:03:20 +0000 (10:03 -0800)
commit3a07b1609142cfdccd568cfb44f8ad0dd7f0d846
tree9120223d7d07774768af1db5e06542723b3b83e5
parentc23127ce74acc430659d5afb176e3f8e987dd77c
Make test2/test1 static in libitm.c/stackundo.c

libitm.c/stackundo.c fails with -fpic since test1 and test2 may be
preempted with -fpic.  This patch makes those 2 functions static.

PR libitm/64360
* libitm.c/stackundo.c (test2): Make it static.
(test1): Likewise.

From-SVN: r219673
libitm/ChangeLog
libitm/testsuite/libitm.c/stackundo.c