summaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-02 23:17:30 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-02 23:17:30 +0000
commit451d38944b3ceb1b2ba7f7d0bd4729b47e48910a (patch)
tree7602533b0bae9619681516bd8afaf9da88822e42 /gcc/fixinc
parent756d0f7c5d949666a96e60abb4cc954b64b15147 (diff)
downloadgcc-451d38944b3ceb1b2ba7f7d0bd4729b47e48910a.tar.gz
* fixinc/fixincl.x: Rebuilt.
* fixinc/inclhack.def (thread_keyword): Match `*__thread'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54192 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixincl.x4
-rw-r--r--gcc/fixinc/inclhack.def4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index 968ae237c86..4cd9f63db3f 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -4587,7 +4587,7 @@ tSCC zThread_KeywordList[] =
* content selection pattern - do fix if pattern found
*/
tSCC zThread_KeywordSelect0[] =
- " __thread([,)])";
+ "([* ])__thread([,)])";
#define THREAD_KEYWORD_TEST_CT 1
static tTestDesc aThread_KeywordTests[] = {
@@ -4598,7 +4598,7 @@ static tTestDesc aThread_KeywordTests[] = {
*/
static const char* apzThread_KeywordPatch[] = {
"format",
- " __thr%1",
+ "%1__thr%2",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 2ae1e56d221..c9617bd07d1 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -2892,9 +2892,9 @@ fix = {
hackname = thread_keyword;
files = "pthread.h";
files = "bits/sigthread.h";
- select = " __thread([,)])";
+ select = "([* ])__thread([,)])";
c_fix = format;
- c_fix_arg = " __thr%1";
+ c_fix_arg = "%1__thr%2";
test_text =
"extern int pthread_create (pthread_t *__restrict __thread,\n"