Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3af556f7
Commit
3af556f7
authored
Sep 12, 2000
by
Bruce Korb
Committed by
Bruce Korb
Sep 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanups
From-SVN: r36359
parent
32892c52
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
307 additions
and
294 deletions
+307
-294
gcc/ChangeLog
+11
-0
gcc/fixinc/fixfixes.c
+9
-10
gcc/fixinc/fixincl.c
+6
-6
gcc/fixinc/fixincl.tpl
+2
-2
gcc/fixinc/fixincl.x
+247
-247
gcc/fixinc/fixlib.h
+17
-13
gcc/fixinc/fixtests.c
+8
-6
gcc/fixinc/server.h
+7
-10
No files found.
gcc/ChangeLog
View file @
3af556f7
2000-09-12 Bruce Korb <bkorb@gnu.org>
* fixinc/fixfixes.c: make a type for the fix procedure & use it,
remove obsolete code
* fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
* fixinc/fixincl.tpl: make non-exported arrays static scope
* fixinc/fixincl.x: regenerate
* fixinc/fixlib.h: Use PARAMS, not _P_
* fixinc/fixtests.c: make a type for the test proc & use it
* fixinc/server.h: Use PARAMS, not _P_
2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-typeck.c (process_init_element): Avoid union init warnings on
* c-typeck.c (process_init_element): Avoid union init warnings on
...
...
gcc/fixinc/fixfixes.c
View file @
3af556f7
...
@@ -66,9 +66,10 @@ Boston, MA 02111-1307, USA. */
...
@@ -66,9 +66,10 @@ Boston, MA 02111-1307, USA. */
tSCC
zNeedsArg
[]
=
"fixincl error: `%s' needs %s argument (c_fix_arg[%d])
\n
"
;
tSCC
zNeedsArg
[]
=
"fixincl error: `%s' needs %s argument (c_fix_arg[%d])
\n
"
;
typedef
void
t_fix_proc
PARAMS
((
const
char
*
,
const
char
*
,
tFixDesc
*
));
typedef
struct
{
typedef
struct
{
const
char
*
fix_name
;
const
char
*
fix_name
;
void
(
*
fix_proc
)()
;
t_fix_proc
*
fix_proc
;
}
fix_entry_t
;
}
fix_entry_t
;
#define FIXUP_TABLE \
#define FIXUP_TABLE \
...
@@ -80,13 +81,14 @@ typedef struct {
...
@@ -80,13 +81,14 @@ typedef struct {
_FT_( "gnu_type", gnu_type_fix )
_FT_( "gnu_type", gnu_type_fix )
#define FIX_PROC_HEAD( fix ) \
#define FIX_PROC_HEAD( fix ) \
static void fix ( filname, text, p_fixd ) \
static t_fix_proc fix;
/* avoid warning */
\
const char* filname; \
static void fix ( filname, text, p_fixd ) \
const char* text; \
const char* filname; \
const char* text; \
tFixDesc* p_fixd;
tFixDesc* p_fixd;
#ifdef NEED_PRINT_QUOTE
/*
/*
* Skip over a quoted string. Single quote strings may
* Skip over a quoted string. Single quote strings may
* contain multiple characters if the first character is
* contain multiple characters if the first character is
...
@@ -128,6 +130,7 @@ print_quote( q, text )
...
@@ -128,6 +130,7 @@ print_quote( q, text )
return
text
;
return
text
;
}
}
#endif
/* NEED_PRINT_QUOTE */
/*
/*
...
@@ -250,7 +253,6 @@ FIX_PROC_HEAD( format_fix )
...
@@ -250,7 +253,6 @@ FIX_PROC_HEAD( format_fix )
{
{
tCC
*
pz_pat
=
p_fixd
->
patch_args
[
2
];
tCC
*
pz_pat
=
p_fixd
->
patch_args
[
2
];
tCC
*
pz_fmt
=
p_fixd
->
patch_args
[
1
];
tCC
*
pz_fmt
=
p_fixd
->
patch_args
[
1
];
const
char
*
p
;
regex_t
re
;
regex_t
re
;
regmatch_t
rm
[
10
];
regmatch_t
rm
[
10
];
...
@@ -295,9 +297,6 @@ FIX_PROC_HEAD( format_fix )
...
@@ -295,9 +297,6 @@ FIX_PROC_HEAD( format_fix )
compile_re
(
pz_pat
,
&
re
,
1
,
"format search-text"
,
"format_fix"
);
compile_re
(
pz_pat
,
&
re
,
1
,
"format search-text"
,
"format_fix"
);
while
(
regexec
(
&
re
,
text
,
10
,
rm
,
0
)
==
0
)
while
(
regexec
(
&
re
,
text
,
10
,
rm
,
0
)
==
0
)
{
{
char
*
apz
[
10
];
int
i
;
fwrite
(
text
,
rm
[
0
].
rm_so
,
1
,
stdout
);
fwrite
(
text
,
rm
[
0
].
rm_so
,
1
,
stdout
);
format_write
(
pz_fmt
,
text
,
rm
);
format_write
(
pz_fmt
,
text
,
rm
);
text
+=
rm
[
0
].
rm_eo
;
text
+=
rm
[
0
].
rm_eo
;
...
...
gcc/fixinc/fixincl.c
View file @
3af556f7
...
@@ -93,12 +93,11 @@ const char incl_quote_pat[] = "^[ \t]*#[ \t]*include[ \t]*\"[^/]";
...
@@ -93,12 +93,11 @@ const char incl_quote_pat[] = "^[ \t]*#[ \t]*include[ \t]*\"[^/]";
tSCC
z_fork_err
[]
=
"Error %d (%s) starting filter process for %s
\n
"
;
tSCC
z_fork_err
[]
=
"Error %d (%s) starting filter process for %s
\n
"
;
regex_t
incl_quote_re
;
regex_t
incl_quote_re
;
void
do_version
();
void
do_version
PARAMS
((
void
));
char
*
load_file
_P_
((
const
char
*
));
char
*
load_file
PARAMS
((
const
char
*
));
void
process
_P_
((
char
*
,
const
char
*
));
void
run_compiles
PARAMS
((
void
));
void
run_compiles
();
void
initialize
PARAMS
((
int
argc
,
char
**
argv
));
void
initialize
_P_
((
int
argc
,
char
**
argv
));
void
process
PARAMS
((
void
));
void
process
();
/* External Source Code */
/* External Source Code */
...
@@ -523,6 +522,7 @@ run_compiles ()
...
@@ -523,6 +522,7 @@ run_compiles ()
p_test
->
p_test_regex
=
p_re
++
;
p_test
->
p_test_regex
=
p_re
++
;
compile_re
(
p_test
->
pz_test_text
,
p_test
->
p_test_regex
,
0
,
compile_re
(
p_test
->
pz_test_text
,
p_test
->
p_test_regex
,
0
,
"select test"
,
p_fixd
->
fix_name
);
"select test"
,
p_fixd
->
fix_name
);
default
:
break
;
}
}
p_test
++
;
p_test
++
;
}
}
...
...
gcc/fixinc/fixincl.tpl
View file @
3af556f7
...
@@ -124,7 +124,7 @@ _SETENV re_ct
...
@@ -124,7 +124,7 @@ _SETENV re_ct
re_ct _env _val
re_ct _env _val
select _count +
select _count +
bypass _count + =]
bypass _count + =]
tTestDesc a[=hackname _cap=]Tests[] = {[=
static
tTestDesc a[=hackname _cap=]Tests[] = {[=
_FOR test =]
_FOR test =]
{ TT_TEST, z[=hackname _cap=]Test[=_eval _index=], 0 /* unused */ },[=
{ TT_TEST, z[=hackname _cap=]Test[=_eval _index=], 0 /* unused */ },[=
...
@@ -149,7 +149,7 @@ tTestDesc a[=hackname _cap=]Tests[] = {[=
...
@@ -149,7 +149,7 @@ tTestDesc a[=hackname _cap=]Tests[] = {[=
/*
/*
* Fix Command Arguments for [=hackname _cap=]
* Fix Command Arguments for [=hackname _cap=]
*/
*/
const char* apz[=hackname _cap=]Patch[] = {[=
static
const char* apz[=hackname _cap=]Patch[] = {[=
_IF sed _exist =] "sed"[=
_IF sed _exist =] "sed"[=
_FOR sed=],
_FOR sed=],
"-e", [=sed _krstr=][=
"-e", [=sed _krstr=][=
...
...
gcc/fixinc/fixincl.x
View file @
3af556f7
...
@@ -55,13 +55,13 @@ tSCC zAaa_Ki_IfaceSelect0[] =
...
@@ -55,13 +55,13 @@ tSCC zAaa_Ki_IfaceSelect0[] =
"These definitions are for HP Internal developers";
"These definitions are for HP Internal developers";
#define AAA_KI_IFACE_TEST_CT 1
#define AAA_KI_IFACE_TEST_CT 1
tTestDesc aAaa_Ki_IfaceTests[] = {
static
tTestDesc aAaa_Ki_IfaceTests[] = {
{ TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aaa_Ki_Iface
* Fix Command Arguments for Aaa_Ki_Iface
*/
*/
const char* apzAaa_Ki_IfacePatch[] = {
static
const char* apzAaa_Ki_IfacePatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -89,13 +89,13 @@ tSCC zAaa_KiSelect0[] =
...
@@ -89,13 +89,13 @@ tSCC zAaa_KiSelect0[] =
"11.00 HP-UX LP64";
"11.00 HP-UX LP64";
#define AAA_KI_TEST_CT 1
#define AAA_KI_TEST_CT 1
tTestDesc aAaa_KiTests[] = {
static
tTestDesc aAaa_KiTests[] = {
{ TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aaa_Ki
* Fix Command Arguments for Aaa_Ki
*/
*/
const char* apzAaa_KiPatch[] = {
static
const char* apzAaa_KiPatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -123,13 +123,13 @@ tSCC zAaa_Ki_CallsSelect0[] =
...
@@ -123,13 +123,13 @@ tSCC zAaa_Ki_CallsSelect0[] =
"kthread_create_caller_t";
"kthread_create_caller_t";
#define AAA_KI_CALLS_TEST_CT 1
#define AAA_KI_CALLS_TEST_CT 1
tTestDesc aAaa_Ki_CallsTests[] = {
static
tTestDesc aAaa_Ki_CallsTests[] = {
{ TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aaa_Ki_Calls
* Fix Command Arguments for Aaa_Ki_Calls
*/
*/
const char* apzAaa_Ki_CallsPatch[] = {
static
const char* apzAaa_Ki_CallsPatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -157,13 +157,13 @@ tSCC zAaa_Ki_DefsSelect0[] =
...
@@ -157,13 +157,13 @@ tSCC zAaa_Ki_DefsSelect0[] =
"Kernel Instrumentation Definitions";
"Kernel Instrumentation Definitions";
#define AAA_KI_DEFS_TEST_CT 1
#define AAA_KI_DEFS_TEST_CT 1
tTestDesc aAaa_Ki_DefsTests[] = {
static
tTestDesc aAaa_Ki_DefsTests[] = {
{ TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aaa_Ki_Defs
* Fix Command Arguments for Aaa_Ki_Defs
*/
*/
const char* apzAaa_Ki_DefsPatch[] = {
static
const char* apzAaa_Ki_DefsPatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -189,7 +189,7 @@ tSCC zAaa_Bad_FixesList[] =
...
@@ -189,7 +189,7 @@ tSCC zAaa_Bad_FixesList[] =
/*
/*
* Fix Command Arguments for Aaa_Bad_Fixes
* Fix Command Arguments for Aaa_Bad_Fixes
*/
*/
const char* apzAaa_Bad_FixesPatch[] = {
static
const char* apzAaa_Bad_FixesPatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -217,13 +217,13 @@ tSCC zAaa_TimeSelect0[] =
...
@@ -217,13 +217,13 @@ tSCC zAaa_TimeSelect0[] =
"11.0 and later representation of ki time";
"11.0 and later representation of ki time";
#define AAA_TIME_TEST_CT 1
#define AAA_TIME_TEST_CT 1
tTestDesc aAaa_TimeTests[] = {
static
tTestDesc aAaa_TimeTests[] = {
{ TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aaa_Time
* Fix Command Arguments for Aaa_Time
*/
*/
const char* apzAaa_TimePatch[] = {
static
const char* apzAaa_TimePatch[] = {
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -249,7 +249,7 @@ tSCC zAab_Dgux_Int_VarargsList[] =
...
@@ -249,7 +249,7 @@ tSCC zAab_Dgux_Int_VarargsList[] =
/*
/*
* Fix Command Arguments for Aab_Dgux_Int_Varargs
* Fix Command Arguments for Aab_Dgux_Int_Varargs
*/
*/
const char* apzAab_Dgux_Int_VarargsPatch[] = {
static
const char* apzAab_Dgux_Int_VarargsPatch[] = {
"#ifndef __INT_VARARGS_H\n\
"#ifndef __INT_VARARGS_H\n\
#define __INT_VARARGS_H\n\
#define __INT_VARARGS_H\n\
\n\
\n\
...
@@ -341,13 +341,13 @@ tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
...
@@ -341,13 +341,13 @@ tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
"} while";
"} while";
#define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
#define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
static
tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
{ TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
* Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
*/
*/
const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
static
const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro\n\
"/* This file fixes a bug in the __FD_ZERO macro\n\
for older versions of the Linux kernel. */\n\
for older versions of the Linux kernel. */\n\
#ifndef _POSIX_TYPES_H_WRAPPER\n\
#ifndef _POSIX_TYPES_H_WRAPPER\n\
...
@@ -395,7 +395,7 @@ tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
...
@@ -395,7 +395,7 @@ tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
* Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
*/
*/
const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
static
const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
#ifndef _TYPES_H_WRAPPER\n\
#ifndef _TYPES_H_WRAPPER\n\
#include <features.h>\n\
#include <features.h>\n\
...
@@ -442,7 +442,7 @@ tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
...
@@ -442,7 +442,7 @@ tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
* Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
*/
*/
const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
static
const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
#ifndef _SELECTBITS_H_WRAPPER\n\
#ifndef _SELECTBITS_H_WRAPPER\n\
#include <features.h>\n\
#include <features.h>\n\
...
@@ -493,13 +493,13 @@ tSCC zAab_Sun_MemcpySelect0[] =
...
@@ -493,13 +493,13 @@ tSCC zAab_Sun_MemcpySelect0[] =
"/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
"/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
#define AAB_SUN_MEMCPY_TEST_CT 1
#define AAB_SUN_MEMCPY_TEST_CT 1
tTestDesc aAab_Sun_MemcpyTests[] = {
static
tTestDesc aAab_Sun_MemcpyTests[] = {
{ TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aab_Sun_Memcpy
* Fix Command Arguments for Aab_Sun_Memcpy
*/
*/
const char* apzAab_Sun_MemcpyPatch[] = {
static
const char* apzAab_Sun_MemcpyPatch[] = {
"/* This file was generated by fixincludes */\n\
"/* This file was generated by fixincludes */\n\
#ifndef __memory_h__\n\
#ifndef __memory_h__\n\
#define __memory_h__\n\
#define __memory_h__\n\
...
@@ -551,7 +551,7 @@ tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
...
@@ -551,7 +551,7 @@ tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Svr4_Replace_Byteorder
* Fix Command Arguments for Aab_Svr4_Replace_Byteorder
*/
*/
const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
static
const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
"#ifndef _SYS_BYTEORDER_H\n\
"#ifndef _SYS_BYTEORDER_H\n\
#define _SYS_BYTEORDER_H\n\
#define _SYS_BYTEORDER_H\n\
\n\
\n\
...
@@ -722,13 +722,13 @@ tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
...
@@ -722,13 +722,13 @@ tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
"ULTRIX";
"ULTRIX";
#define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
#define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
static
tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
{ TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aab_Ultrix_Ansi_Compat
* Fix Command Arguments for Aab_Ultrix_Ansi_Compat
*/
*/
const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
static
const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
"/* This file intentionally left blank. */\n",
"/* This file intentionally left blank. */\n",
(char*)NULL };
(char*)NULL };
...
@@ -757,7 +757,7 @@ tSCC* apzAab_Ultrix_LimitsMachs[] = {
...
@@ -757,7 +757,7 @@ tSCC* apzAab_Ultrix_LimitsMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Ultrix_Limits
* Fix Command Arguments for Aab_Ultrix_Limits
*/
*/
const char* apzAab_Ultrix_LimitsPatch[] = {
static
const char* apzAab_Ultrix_LimitsPatch[] = {
"/*\t@(#)limits.h\t\t\t\t*/\n\
"/*\t@(#)limits.h\t\t\t\t*/\n\
/* This file was generated by fixincludes\t*/\n\
/* This file was generated by fixincludes\t*/\n\
#ifndef _LIMITS_INCLUDED\n\
#ifndef _LIMITS_INCLUDED\n\
...
@@ -791,7 +791,7 @@ tSCC* apzAab_Ultrix_MemoryMachs[] = {
...
@@ -791,7 +791,7 @@ tSCC* apzAab_Ultrix_MemoryMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Ultrix_Memory
* Fix Command Arguments for Aab_Ultrix_Memory
*/
*/
const char* apzAab_Ultrix_MemoryPatch[] = {
static
const char* apzAab_Ultrix_MemoryPatch[] = {
"/*\t@(#)memory.h\t\t\t\t*/\n\
"/*\t@(#)memory.h\t\t\t\t*/\n\
/* This file was generated by fixincludes\t*/\n\
/* This file was generated by fixincludes\t*/\n\
#ifndef _MEMORY_INCLUDED\n\
#ifndef _MEMORY_INCLUDED\n\
...
@@ -825,7 +825,7 @@ tSCC* apzAab_Ultrix_StringMachs[] = {
...
@@ -825,7 +825,7 @@ tSCC* apzAab_Ultrix_StringMachs[] = {
/*
/*
* Fix Command Arguments for Aab_Ultrix_String
* Fix Command Arguments for Aab_Ultrix_String
*/
*/
const char* apzAab_Ultrix_StringPatch[] = {
static
const char* apzAab_Ultrix_StringPatch[] = {
"/*\t@(#)string.h\t\t\t\t*/\n\
"/*\t@(#)string.h\t\t\t\t*/\n\
/* This file was generated by fixincludes\t*/\n\
/* This file was generated by fixincludes\t*/\n\
#ifndef _STRING_INCLUDED\n\
#ifndef _STRING_INCLUDED\n\
...
@@ -861,13 +861,13 @@ tSCC zAix_PthreadSelect0[] =
...
@@ -861,13 +861,13 @@ tSCC zAix_PthreadSelect0[] =
(])";
(])";
#define AIX_PTHREAD_TEST_CT 1
#define AIX_PTHREAD_TEST_CT 1
tTestDesc aAix_PthreadTests[] = {
static
tTestDesc aAix_PthreadTests[] = {
{ TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aix_Pthread
* Fix Command Arguments for Aix_Pthread
*/
*/
const char* apzAix_PthreadPatch[] = {
static
const char* apzAix_PthreadPatch[] = {
"format",
"format",
"%1 %2",
"%1 %2",
(char*)NULL };
(char*)NULL };
...
@@ -897,13 +897,13 @@ tSCC zAix_SysmachineSelect0[] =
...
@@ -897,13 +897,13 @@ tSCC zAix_SysmachineSelect0[] =
"\\\\ +\n";
"\\\\ +\n";
#define AIX_SYSMACHINE_TEST_CT 1
#define AIX_SYSMACHINE_TEST_CT 1
tTestDesc aAix_SysmachineTests[] = {
static
tTestDesc aAix_SysmachineTests[] = {
{ TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aix_Sysmachine
* Fix Command Arguments for Aix_Sysmachine
*/
*/
const char* apzAix_SysmachinePatch[] = {
static
const char* apzAix_SysmachinePatch[] = {
"format",
"format",
"\\\n",
"\\\n",
(char*)NULL };
(char*)NULL };
...
@@ -935,14 +935,14 @@ tSCC zAix_SyswaitSelect1[] =
...
@@ -935,14 +935,14 @@ tSCC zAix_SyswaitSelect1[] =
"bos325,";
"bos325,";
#define AIX_SYSWAIT_TEST_CT 2
#define AIX_SYSWAIT_TEST_CT 2
tTestDesc aAix_SyswaitTests[] = {
static
tTestDesc aAix_SyswaitTests[] = {
{ TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
{ TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
{ TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
{ TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aix_Syswait
* Fix Command Arguments for Aix_Syswait
*/
*/
const char* apzAix_SyswaitPatch[] = {
static
const char* apzAix_SyswaitPatch[] = {
"format",
"format",
"struct rusage;\n\
"struct rusage;\n\
%0",
%0",
...
@@ -973,13 +973,13 @@ tSCC zAix_VolatileSelect0[] =
...
@@ -973,13 +973,13 @@ tSCC zAix_VolatileSelect0[] =
"typedef volatile int sig_atomic_t";
"typedef volatile int sig_atomic_t";
#define AIX_VOLATILE_TEST_CT 1
#define AIX_VOLATILE_TEST_CT 1
tTestDesc aAix_VolatileTests[] = {
static
tTestDesc aAix_VolatileTests[] = {
{ TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aix_Volatile
* Fix Command Arguments for Aix_Volatile
*/
*/
const char* apzAix_VolatilePatch[] = {
static
const char* apzAix_VolatilePatch[] = {
"format",
"format",
"typedef int sig_atomic_t",
"typedef int sig_atomic_t",
(char*)NULL };
(char*)NULL };
...
@@ -1009,13 +1009,13 @@ tSCC zAlpha_GetoptSelect0[] =
...
@@ -1009,13 +1009,13 @@ tSCC zAlpha_GetoptSelect0[] =
"getopt\\(int, char \\*\\[\\], *char \\*\\)";
"getopt\\(int, char \\*\\[\\], *char \\*\\)";
#define ALPHA_GETOPT_TEST_CT 1
#define ALPHA_GETOPT_TEST_CT 1
tTestDesc aAlpha_GetoptTests[] = {
static
tTestDesc aAlpha_GetoptTests[] = {
{ TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Alpha_Getopt
* Fix Command Arguments for Alpha_Getopt
*/
*/
const char* apzAlpha_GetoptPatch[] = {
static
const char* apzAlpha_GetoptPatch[] = {
"format",
"format",
"getopt(int, char *const[], const char *)",
"getopt(int, char *const[], const char *)",
(char*)NULL };
(char*)NULL };
...
@@ -1045,13 +1045,13 @@ tSCC zAlpha_ParensSelect0[] =
...
@@ -1045,13 +1045,13 @@ tSCC zAlpha_ParensSelect0[] =
"#ifndef\\(__mips64\\)";
"#ifndef\\(__mips64\\)";
#define ALPHA_PARENS_TEST_CT 1
#define ALPHA_PARENS_TEST_CT 1
tTestDesc aAlpha_ParensTests[] = {
static
tTestDesc aAlpha_ParensTests[] = {
{ TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Alpha_Parens
* Fix Command Arguments for Alpha_Parens
*/
*/
const char* apzAlpha_ParensPatch[] = {
static
const char* apzAlpha_ParensPatch[] = {
"format",
"format",
"#ifndef __mips64",
"#ifndef __mips64",
(char*)NULL };
(char*)NULL };
...
@@ -1081,13 +1081,13 @@ tSCC zAlpha_SbrkSelect0[] =
...
@@ -1081,13 +1081,13 @@ tSCC zAlpha_SbrkSelect0[] =
"char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
"char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
#define ALPHA_SBRK_TEST_CT 1
#define ALPHA_SBRK_TEST_CT 1
tTestDesc aAlpha_SbrkTests[] = {
static
tTestDesc aAlpha_SbrkTests[] = {
{ TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Alpha_Sbrk
* Fix Command Arguments for Alpha_Sbrk
*/
*/
const char* apzAlpha_SbrkPatch[] = {
static
const char* apzAlpha_SbrkPatch[] = {
"format",
"format",
"void *sbrk(",
"void *sbrk(",
(char*)NULL };
(char*)NULL };
...
@@ -1117,13 +1117,13 @@ tSCC zArm_Norcroft_HintSelect0[] =
...
@@ -1117,13 +1117,13 @@ tSCC zArm_Norcroft_HintSelect0[] =
"___type p_type";
"___type p_type";
#define ARM_NORCROFT_HINT_TEST_CT 1
#define ARM_NORCROFT_HINT_TEST_CT 1
tTestDesc aArm_Norcroft_HintTests[] = {
static
tTestDesc aArm_Norcroft_HintTests[] = {
{ TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Arm_Norcroft_Hint
* Fix Command Arguments for Arm_Norcroft_Hint
*/
*/
const char* apzArm_Norcroft_HintPatch[] = {
static
const char* apzArm_Norcroft_HintPatch[] = {
"format",
"format",
"p_type",
"p_type",
(char*)NULL };
(char*)NULL };
...
@@ -1153,13 +1153,13 @@ tSCC zArm_WcharSelect0[] =
...
@@ -1153,13 +1153,13 @@ tSCC zArm_WcharSelect0[] =
"#[ \t]*define[ \t]*__wchar_t";
"#[ \t]*define[ \t]*__wchar_t";
#define ARM_WCHAR_TEST_CT 1
#define ARM_WCHAR_TEST_CT 1
tTestDesc aArm_WcharTests[] = {
static
tTestDesc aArm_WcharTests[] = {
{ TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Arm_Wchar
* Fix Command Arguments for Arm_Wchar
*/
*/
const char* apzArm_WcharPatch[] = {
static
const char* apzArm_WcharPatch[] = {
"format",
"format",
"%1_GCC_WCHAR_T",
"%1_GCC_WCHAR_T",
"(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
"(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
...
@@ -1190,13 +1190,13 @@ tSCC zAux_AsmSelect0[] =
...
@@ -1190,13 +1190,13 @@ tSCC zAux_AsmSelect0[] =
"#ifndef NOINLINE";
"#ifndef NOINLINE";
#define AUX_ASM_TEST_CT 1
#define AUX_ASM_TEST_CT 1
tTestDesc aAux_AsmTests[] = {
static
tTestDesc aAux_AsmTests[] = {
{ TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Aux_Asm
* Fix Command Arguments for Aux_Asm
*/
*/
const char* apzAux_AsmPatch[] = {
static
const char* apzAux_AsmPatch[] = {
"format",
"format",
"#if !defined(NOINLINE) && !defined(__GNUC__)",
"#if !defined(NOINLINE) && !defined(__GNUC__)",
(char*)NULL };
(char*)NULL };
...
@@ -1232,14 +1232,14 @@ tSCC zAvoid_Bool_DefineBypass0[] =
...
@@ -1232,14 +1232,14 @@ tSCC zAvoid_Bool_DefineBypass0[] =
"we must use the C\\+\\+ compiler's type";
"we must use the C\\+\\+ compiler's type";
#define AVOID_BOOL_DEFINE_TEST_CT 2
#define AVOID_BOOL_DEFINE_TEST_CT 2
tTestDesc aAvoid_Bool_DefineTests[] = {
static
tTestDesc aAvoid_Bool_DefineTests[] = {
{ TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
{ TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
{ TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Avoid_Bool_Define
* Fix Command Arguments for Avoid_Bool_Define
*/
*/
const char* apzAvoid_Bool_DefinePatch[] = {
static
const char* apzAvoid_Bool_DefinePatch[] = {
"format",
"format",
"#ifndef __cplusplus\n\
"#ifndef __cplusplus\n\
%0\n\
%0\n\
...
@@ -1278,14 +1278,14 @@ tSCC zAvoid_Bool_TypeBypass0[] =
...
@@ -1278,14 +1278,14 @@ tSCC zAvoid_Bool_TypeBypass0[] =
"we must use the C\\+\\+ compiler's type";
"we must use the C\\+\\+ compiler's type";
#define AVOID_BOOL_TYPE_TEST_CT 2
#define AVOID_BOOL_TYPE_TEST_CT 2
tTestDesc aAvoid_Bool_TypeTests[] = {
static
tTestDesc aAvoid_Bool_TypeTests[] = {
{ TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
{ TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
{ TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Avoid_Bool_Type
* Fix Command Arguments for Avoid_Bool_Type
*/
*/
const char* apzAvoid_Bool_TypePatch[] = {
static
const char* apzAvoid_Bool_TypePatch[] = {
"format",
"format",
"#ifndef __cplusplus\n\
"#ifndef __cplusplus\n\
%0\n\
%0\n\
...
@@ -1318,13 +1318,13 @@ tSCC zBad_LvalSelect0[] =
...
@@ -1318,13 +1318,13 @@ tSCC zBad_LvalSelect0[] =
"^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
"^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
#define BAD_LVAL_TEST_CT 1
#define BAD_LVAL_TEST_CT 1
tTestDesc aBad_LvalTests[] = {
static
tTestDesc aBad_LvalTests[] = {
{ TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Bad_Lval
* Fix Command Arguments for Bad_Lval
*/
*/
const char* apzBad_LvalPatch[] = { "sed",
static
const char* apzBad_LvalPatch[] = { "sed",
"-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
"-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
(char*)NULL };
(char*)NULL };
...
@@ -1353,13 +1353,13 @@ tSCC zBad_Struct_TermSelect0[] =
...
@@ -1353,13 +1353,13 @@ tSCC zBad_Struct_TermSelect0[] =
"^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
"^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
#define BAD_STRUCT_TERM_TEST_CT 1
#define BAD_STRUCT_TERM_TEST_CT 1
tTestDesc aBad_Struct_TermTests[] = {
static
tTestDesc aBad_Struct_TermTests[] = {
{ TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Bad_Struct_Term
* Fix Command Arguments for Bad_Struct_Term
*/
*/
const char* apzBad_Struct_TermPatch[] = {
static
const char* apzBad_Struct_TermPatch[] = {
"format",
"format",
"struct term;",
"struct term;",
(char*)NULL };
(char*)NULL };
...
@@ -1389,13 +1389,13 @@ tSCC zBadquoteSelect0[] =
...
@@ -1389,13 +1389,13 @@ tSCC zBadquoteSelect0[] =
"doesn't";
"doesn't";
#define BADQUOTE_TEST_CT 1
#define BADQUOTE_TEST_CT 1
tTestDesc aBadquoteTests[] = {
static
tTestDesc aBadquoteTests[] = {
{ TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Badquote
* Fix Command Arguments for Badquote
*/
*/
const char* apzBadquotePatch[] = {
static
const char* apzBadquotePatch[] = {
"format",
"format",
"does not",
"does not",
(char*)NULL };
(char*)NULL };
...
@@ -1431,14 +1431,14 @@ tSCC zBroken_Assert_StdioBypass0[] =
...
@@ -1431,14 +1431,14 @@ tSCC zBroken_Assert_StdioBypass0[] =
"include.*stdio\\.h";
"include.*stdio\\.h";
#define BROKEN_ASSERT_STDIO_TEST_CT 2
#define BROKEN_ASSERT_STDIO_TEST_CT 2
tTestDesc aBroken_Assert_StdioTests[] = {
static
tTestDesc aBroken_Assert_StdioTests[] = {
{ TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
{ TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
{ TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Broken_Assert_Stdio
* Fix Command Arguments for Broken_Assert_Stdio
*/
*/
const char* apzBroken_Assert_StdioPatch[] = {
static
const char* apzBroken_Assert_StdioPatch[] = {
"wrap",
"wrap",
"#include <stdio.h>\n",
"#include <stdio.h>\n",
(char*)NULL };
(char*)NULL };
...
@@ -1474,14 +1474,14 @@ tSCC zBroken_Assert_StdlibBypass0[] =
...
@@ -1474,14 +1474,14 @@ tSCC zBroken_Assert_StdlibBypass0[] =
"include.*stdlib\\.h";
"include.*stdlib\\.h";
#define BROKEN_ASSERT_STDLIB_TEST_CT 2
#define BROKEN_ASSERT_STDLIB_TEST_CT 2
tTestDesc aBroken_Assert_StdlibTests[] = {
static
tTestDesc aBroken_Assert_StdlibTests[] = {
{ TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
{ TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
{ TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Broken_Assert_Stdlib
* Fix Command Arguments for Broken_Assert_Stdlib
*/
*/
const char* apzBroken_Assert_StdlibPatch[] = {
static
const char* apzBroken_Assert_StdlibPatch[] = {
"wrap",
"wrap",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
#include <stdlib.h>\n\
#include <stdlib.h>\n\
...
@@ -1513,13 +1513,13 @@ tSCC zBroken_CabsSelect0[] =
...
@@ -1513,13 +1513,13 @@ tSCC zBroken_CabsSelect0[] =
"^extern double cabs";
"^extern double cabs";
#define BROKEN_CABS_TEST_CT 1
#define BROKEN_CABS_TEST_CT 1
tTestDesc aBroken_CabsTests[] = {
static
tTestDesc aBroken_CabsTests[] = {
{ TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Broken_Cabs
* Fix Command Arguments for Broken_Cabs
*/
*/
const char* apzBroken_CabsPatch[] = {
static
const char* apzBroken_CabsPatch[] = {
"format",
"format",
"",
"",
"^extern double cabs\\((struct dbl_hypot|)\\);",
"^extern double cabs\\((struct dbl_hypot|)\\);",
...
@@ -1549,13 +1549,13 @@ tSCC zCtrl_Quotes_DefSelect0[] =
...
@@ -1549,13 +1549,13 @@ tSCC zCtrl_Quotes_DefSelect0[] =
"define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
"define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
#define CTRL_QUOTES_DEF_TEST_CT 1
#define CTRL_QUOTES_DEF_TEST_CT 1
tTestDesc aCtrl_Quotes_DefTests[] = {
static
tTestDesc aCtrl_Quotes_DefTests[] = {
{ TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ctrl_Quotes_Def
* Fix Command Arguments for Ctrl_Quotes_Def
*/
*/
const char* apzCtrl_Quotes_DefPatch[] = {
static
const char* apzCtrl_Quotes_DefPatch[] = {
"char_macro_def",
"char_macro_def",
"CTRL",
"CTRL",
(char*)NULL };
(char*)NULL };
...
@@ -1584,13 +1584,13 @@ tSCC zCtrl_Quotes_UseSelect0[] =
...
@@ -1584,13 +1584,13 @@ tSCC zCtrl_Quotes_UseSelect0[] =
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
#define CTRL_QUOTES_USE_TEST_CT 1
#define CTRL_QUOTES_USE_TEST_CT 1
tTestDesc aCtrl_Quotes_UseTests[] = {
static
tTestDesc aCtrl_Quotes_UseTests[] = {
{ TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ctrl_Quotes_Use
* Fix Command Arguments for Ctrl_Quotes_Use
*/
*/
const char* apzCtrl_Quotes_UsePatch[] = {
static
const char* apzCtrl_Quotes_UsePatch[] = {
"char_macro_use",
"char_macro_use",
"CTRL",
"CTRL",
(char*)NULL };
(char*)NULL };
...
@@ -1626,14 +1626,14 @@ tSCC zCxx_UnreadyBypass0[] =
...
@@ -1626,14 +1626,14 @@ tSCC zCxx_UnreadyBypass0[] =
"\"C\"|__BEGIN_DECLS";
"\"C\"|__BEGIN_DECLS";
#define CXX_UNREADY_TEST_CT 2
#define CXX_UNREADY_TEST_CT 2
tTestDesc aCxx_UnreadyTests[] = {
static
tTestDesc aCxx_UnreadyTests[] = {
{ TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
{ TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
{ TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
{ TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Cxx_Unready
* Fix Command Arguments for Cxx_Unready
*/
*/
const char* apzCxx_UnreadyPatch[] = {
static
const char* apzCxx_UnreadyPatch[] = {
"wrap",
"wrap",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
extern \"C\" {\n\
extern \"C\" {\n\
...
@@ -1666,7 +1666,7 @@ tSCC zDec_Intern_AsmList[] =
...
@@ -1666,7 +1666,7 @@ tSCC zDec_Intern_AsmList[] =
/*
/*
* Fix Command Arguments for Dec_Intern_Asm
* Fix Command Arguments for Dec_Intern_Asm
*/
*/
const char* apzDec_Intern_AsmPatch[] = { "sed",
static
const char* apzDec_Intern_AsmPatch[] = { "sed",
"-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
"-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
#ifdef __DECC\n",
#ifdef __DECC\n",
"-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
"-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
...
@@ -1698,13 +1698,13 @@ tSCC zEcd_CursorSelect0[] =
...
@@ -1698,13 +1698,13 @@ tSCC zEcd_CursorSelect0[] =
"ecd\\.cursor";
"ecd\\.cursor";
#define ECD_CURSOR_TEST_CT 1
#define ECD_CURSOR_TEST_CT 1
tTestDesc aEcd_CursorTests[] = {
static
tTestDesc aEcd_CursorTests[] = {
{ TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ecd_Cursor
* Fix Command Arguments for Ecd_Cursor
*/
*/
const char* apzEcd_CursorPatch[] = {
static
const char* apzEcd_CursorPatch[] = {
"format",
"format",
"ecd_cursor",
"ecd_cursor",
(char*)NULL };
(char*)NULL };
...
@@ -1736,13 +1736,13 @@ tSCC zFix_Header_BreakageSelect0[] =
...
@@ -1736,13 +1736,13 @@ tSCC zFix_Header_BreakageSelect0[] =
"extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
"extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
#define FIX_HEADER_BREAKAGE_TEST_CT 1
#define FIX_HEADER_BREAKAGE_TEST_CT 1
tTestDesc aFix_Header_BreakageTests[] = {
static
tTestDesc aFix_Header_BreakageTests[] = {
{ TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Fix_Header_Breakage
* Fix Command Arguments for Fix_Header_Breakage
*/
*/
const char* apzFix_Header_BreakagePatch[] = {
static
const char* apzFix_Header_BreakagePatch[] = {
"format",
"format",
"extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
"extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
(char*)NULL };
(char*)NULL };
...
@@ -1772,13 +1772,13 @@ tSCC zHp_InlineSelect0[] =
...
@@ -1772,13 +1772,13 @@ tSCC zHp_InlineSelect0[] =
"[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
"[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
#define HP_INLINE_TEST_CT 1
#define HP_INLINE_TEST_CT 1
tTestDesc aHp_InlineTests[] = {
static
tTestDesc aHp_InlineTests[] = {
{ TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hp_Inline
* Fix Command Arguments for Hp_Inline
*/
*/
const char* apzHp_InlinePatch[] = {
static
const char* apzHp_InlinePatch[] = {
"format",
"format",
"%1<machine/%2.h>",
"%1<machine/%2.h>",
"([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
"([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
...
@@ -1809,13 +1809,13 @@ tSCC zHp_SysfileSelect0[] =
...
@@ -1809,13 +1809,13 @@ tSCC zHp_SysfileSelect0[] =
"HPUX_SOURCE";
"HPUX_SOURCE";
#define HP_SYSFILE_TEST_CT 1
#define HP_SYSFILE_TEST_CT 1
tTestDesc aHp_SysfileTests[] = {
static
tTestDesc aHp_SysfileTests[] = {
{ TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hp_Sysfile
* Fix Command Arguments for Hp_Sysfile
*/
*/
const char* apzHp_SysfilePatch[] = {
static
const char* apzHp_SysfilePatch[] = {
"format",
"format",
"(struct file *, ...)",
"(struct file *, ...)",
"\\(\\.\\.\\.\\)",
"\\(\\.\\.\\.\\)",
...
@@ -1852,14 +1852,14 @@ tSCC zHpux11_FabsfBypass0[] =
...
@@ -1852,14 +1852,14 @@ tSCC zHpux11_FabsfBypass0[] =
"__cplusplus";
"__cplusplus";
#define HPUX11_FABSF_TEST_CT 2
#define HPUX11_FABSF_TEST_CT 2
tTestDesc aHpux11_FabsfTests[] = {
static
tTestDesc aHpux11_FabsfTests[] = {
{ TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
{ TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hpux11_Fabsf
* Fix Command Arguments for Hpux11_Fabsf
*/
*/
const char* apzHpux11_FabsfPatch[] = {
static
const char* apzHpux11_FabsfPatch[] = {
"format",
"format",
"#ifndef __cplusplus\n\
"#ifndef __cplusplus\n\
%0\n\
%0\n\
...
@@ -1891,13 +1891,13 @@ tSCC zHpux11_Uint32_CSelect0[] =
...
@@ -1891,13 +1891,13 @@ tSCC zHpux11_Uint32_CSelect0[] =
"^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
"^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
#define HPUX11_UINT32_C_TEST_CT 1
#define HPUX11_UINT32_C_TEST_CT 1
tTestDesc aHpux11_Uint32_CTests[] = {
static
tTestDesc aHpux11_Uint32_CTests[] = {
{ TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hpux11_Uint32_C
* Fix Command Arguments for Hpux11_Uint32_C
*/
*/
const char* apzHpux11_Uint32_CPatch[] = {
static
const char* apzHpux11_Uint32_CPatch[] = {
"format",
"format",
"#define UINT32_C(__c) __CONCAT__(__c,ul)",
"#define UINT32_C(__c) __CONCAT__(__c,ul)",
(char*)NULL };
(char*)NULL };
...
@@ -1927,13 +1927,13 @@ tSCC zHpux8_Bogus_InlinesSelect0[] =
...
@@ -1927,13 +1927,13 @@ tSCC zHpux8_Bogus_InlinesSelect0[] =
"inline";
"inline";
#define HPUX8_BOGUS_INLINES_TEST_CT 1
#define HPUX8_BOGUS_INLINES_TEST_CT 1
tTestDesc aHpux8_Bogus_InlinesTests[] = {
static
tTestDesc aHpux8_Bogus_InlinesTests[] = {
{ TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hpux8_Bogus_Inlines
* Fix Command Arguments for Hpux8_Bogus_Inlines
*/
*/
const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
static
const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
"-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
"-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
"-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
"-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
"-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
"-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
...
@@ -1965,13 +1965,13 @@ tSCC zInt_Abort_Free_And_ExitSelect0[] =
...
@@ -1965,13 +1965,13 @@ tSCC zInt_Abort_Free_And_ExitSelect0[] =
"int[ \t]+(abort|free|exit)[ \t]*\\(";
"int[ \t]+(abort|free|exit)[ \t]*\\(";
#define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
#define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
tTestDesc aInt_Abort_Free_And_ExitTests[] = {
static
tTestDesc aInt_Abort_Free_And_ExitTests[] = {
{ TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Int_Abort_Free_And_Exit
* Fix Command Arguments for Int_Abort_Free_And_Exit
*/
*/
const char* apzInt_Abort_Free_And_ExitPatch[] = {
static
const char* apzInt_Abort_Free_And_ExitPatch[] = {
"format",
"format",
"void\t%1(",
"void\t%1(",
(char*)NULL };
(char*)NULL };
...
@@ -2001,13 +2001,13 @@ tSCC zIsc_Omits_With_StdcSelect0[] =
...
@@ -2001,13 +2001,13 @@ tSCC zIsc_Omits_With_StdcSelect0[] =
"!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
"!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
#define ISC_OMITS_WITH_STDC_TEST_CT 1
#define ISC_OMITS_WITH_STDC_TEST_CT 1
tTestDesc aIsc_Omits_With_StdcTests[] = {
static
tTestDesc aIsc_Omits_With_StdcTests[] = {
{ TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Isc_Omits_With_Stdc
* Fix Command Arguments for Isc_Omits_With_Stdc
*/
*/
const char* apzIsc_Omits_With_StdcPatch[] = {
static
const char* apzIsc_Omits_With_StdcPatch[] = {
"format",
"format",
"!defined(_POSIX_SOURCE)",
"!defined(_POSIX_SOURCE)",
(char*)NULL };
(char*)NULL };
...
@@ -2036,13 +2036,13 @@ tSCC zIo_Quotes_DefSelect0[] =
...
@@ -2036,13 +2036,13 @@ tSCC zIo_Quotes_DefSelect0[] =
"define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
"define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
#define IO_QUOTES_DEF_TEST_CT 1
#define IO_QUOTES_DEF_TEST_CT 1
tTestDesc aIo_Quotes_DefTests[] = {
static
tTestDesc aIo_Quotes_DefTests[] = {
{ TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Io_Quotes_Def
* Fix Command Arguments for Io_Quotes_Def
*/
*/
const char* apzIo_Quotes_DefPatch[] = {
static
const char* apzIo_Quotes_DefPatch[] = {
"char_macro_def",
"char_macro_def",
"IO",
"IO",
(char*)NULL };
(char*)NULL };
...
@@ -2071,13 +2071,13 @@ tSCC zIo_Quotes_UseSelect0[] =
...
@@ -2071,13 +2071,13 @@ tSCC zIo_Quotes_UseSelect0[] =
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
#define IO_QUOTES_USE_TEST_CT 1
#define IO_QUOTES_USE_TEST_CT 1
tTestDesc aIo_Quotes_UseTests[] = {
static
tTestDesc aIo_Quotes_UseTests[] = {
{ TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Io_Quotes_Use
* Fix Command Arguments for Io_Quotes_Use
*/
*/
const char* apzIo_Quotes_UsePatch[] = {
static
const char* apzIo_Quotes_UsePatch[] = {
"char_macro_use",
"char_macro_use",
"IO",
"IO",
(char*)NULL };
(char*)NULL };
...
@@ -2107,13 +2107,13 @@ tSCC zHpux_MaxintSelect0[] =
...
@@ -2107,13 +2107,13 @@ tSCC zHpux_MaxintSelect0[] =
"^#[ \t]*define[ \t]*MAXINT[ \t]";
"^#[ \t]*define[ \t]*MAXINT[ \t]";
#define HPUX_MAXINT_TEST_CT 1
#define HPUX_MAXINT_TEST_CT 1
tTestDesc aHpux_MaxintTests[] = {
static
tTestDesc aHpux_MaxintTests[] = {
{ TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hpux_Maxint
* Fix Command Arguments for Hpux_Maxint
*/
*/
const char* apzHpux_MaxintPatch[] = {
static
const char* apzHpux_MaxintPatch[] = {
"format",
"format",
"#ifndef MAXINT\n\
"#ifndef MAXINT\n\
%0\n\
%0\n\
...
@@ -2146,13 +2146,13 @@ tSCC zHpux_SystimeSelect0[] =
...
@@ -2146,13 +2146,13 @@ tSCC zHpux_SystimeSelect0[] =
"^extern struct sigevent;";
"^extern struct sigevent;";
#define HPUX_SYSTIME_TEST_CT 1
#define HPUX_SYSTIME_TEST_CT 1
tTestDesc aHpux_SystimeTests[] = {
static
tTestDesc aHpux_SystimeTests[] = {
{ TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Hpux_Systime
* Fix Command Arguments for Hpux_Systime
*/
*/
const char* apzHpux_SystimePatch[] = {
static
const char* apzHpux_SystimePatch[] = {
"format",
"format",
"struct sigevent;",
"struct sigevent;",
(char*)NULL };
(char*)NULL };
...
@@ -2182,13 +2182,13 @@ tSCC zIp_Missing_SemiSelect0[] =
...
@@ -2182,13 +2182,13 @@ tSCC zIp_Missing_SemiSelect0[] =
"}$";
"}$";
#define IP_MISSING_SEMI_TEST_CT 1
#define IP_MISSING_SEMI_TEST_CT 1
tTestDesc aIp_Missing_SemiTests[] = {
static
tTestDesc aIp_Missing_SemiTests[] = {
{ TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ip_Missing_Semi
* Fix Command Arguments for Ip_Missing_Semi
*/
*/
const char* apzIp_Missing_SemiPatch[] = { "sed",
static
const char* apzIp_Missing_SemiPatch[] = { "sed",
"-e", "/^struct/,/^};/s/}$/};/",
"-e", "/^struct/,/^};/s/}$/};/",
(char*)NULL };
(char*)NULL };
...
@@ -2217,13 +2217,13 @@ tSCC zIrix_Asm_ApostropheSelect0[] =
...
@@ -2217,13 +2217,13 @@ tSCC zIrix_Asm_ApostropheSelect0[] =
"^[ \t]*#.*[Ww]e're";
"^[ \t]*#.*[Ww]e're";
#define IRIX_ASM_APOSTROPHE_TEST_CT 1
#define IRIX_ASM_APOSTROPHE_TEST_CT 1
tTestDesc aIrix_Asm_ApostropheTests[] = {
static
tTestDesc aIrix_Asm_ApostropheTests[] = {
{ TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Irix_Asm_Apostrophe
* Fix Command Arguments for Irix_Asm_Apostrophe
*/
*/
const char* apzIrix_Asm_ApostrophePatch[] = {
static
const char* apzIrix_Asm_ApostrophePatch[] = {
"format",
"format",
"%1 are",
"%1 are",
"^([ \t]*#.*[Ww]e)'re",
"^([ \t]*#.*[Ww]e)'re",
...
@@ -2254,13 +2254,13 @@ tSCC zIsc_FmodSelect0[] =
...
@@ -2254,13 +2254,13 @@ tSCC zIsc_FmodSelect0[] =
"fmod\\(double\\)";
"fmod\\(double\\)";
#define ISC_FMOD_TEST_CT 1
#define ISC_FMOD_TEST_CT 1
tTestDesc aIsc_FmodTests[] = {
static
tTestDesc aIsc_FmodTests[] = {
{ TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Isc_Fmod
* Fix Command Arguments for Isc_Fmod
*/
*/
const char* apzIsc_FmodPatch[] = {
static
const char* apzIsc_FmodPatch[] = {
"format",
"format",
"fmod(double, double)",
"fmod(double, double)",
(char*)NULL };
(char*)NULL };
...
@@ -2290,13 +2290,13 @@ tSCC zKandr_ConcatSelect0[] =
...
@@ -2290,13 +2290,13 @@ tSCC zKandr_ConcatSelect0[] =
"/\\*\\*/";
"/\\*\\*/";
#define KANDR_CONCAT_TEST_CT 1
#define KANDR_CONCAT_TEST_CT 1
tTestDesc aKandr_ConcatTests[] = {
static
tTestDesc aKandr_ConcatTests[] = {
{ TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Kandr_Concat
* Fix Command Arguments for Kandr_Concat
*/
*/
const char* apzKandr_ConcatPatch[] = {
static
const char* apzKandr_ConcatPatch[] = {
"format",
"format",
"##",
"##",
(char*)NULL };
(char*)NULL };
...
@@ -2332,14 +2332,14 @@ tSCC zLibc1_Ifdefd_MemxBypass0[] =
...
@@ -2332,14 +2332,14 @@ tSCC zLibc1_Ifdefd_MemxBypass0[] =
"__cplusplus";
"__cplusplus";
#define LIBC1_IFDEFD_MEMX_TEST_CT 2
#define LIBC1_IFDEFD_MEMX_TEST_CT 2
tTestDesc aLibc1_Ifdefd_MemxTests[] = {
static
tTestDesc aLibc1_Ifdefd_MemxTests[] = {
{ TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
{ TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
{ TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Libc1_Ifdefd_Memx
* Fix Command Arguments for Libc1_Ifdefd_Memx
*/
*/
const char* apzLibc1_Ifdefd_MemxPatch[] = {
static
const char* apzLibc1_Ifdefd_MemxPatch[] = {
"format",
"format",
"%1",
"%1",
"/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
"/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
...
@@ -2375,13 +2375,13 @@ tSCC zLimits_IfndefsBypass0[] =
...
@@ -2375,13 +2375,13 @@ tSCC zLimits_IfndefsBypass0[] =
"ifndef[ \t]+FLT_MIN";
"ifndef[ \t]+FLT_MIN";
#define LIMITS_IFNDEFS_TEST_CT 1
#define LIMITS_IFNDEFS_TEST_CT 1
tTestDesc aLimits_IfndefsTests[] = {
static
tTestDesc aLimits_IfndefsTests[] = {
{ TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Limits_Ifndefs
* Fix Command Arguments for Limits_Ifndefs
*/
*/
const char* apzLimits_IfndefsPatch[] = {
static
const char* apzLimits_IfndefsPatch[] = {
"format",
"format",
"#ifndef %1\n\
"#ifndef %1\n\
%0\n\
%0\n\
...
@@ -2414,13 +2414,13 @@ tSCC zLynx_Void_IntSelect0[] =
...
@@ -2414,13 +2414,13 @@ tSCC zLynx_Void_IntSelect0[] =
"#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
"#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
#define LYNX_VOID_INT_TEST_CT 1
#define LYNX_VOID_INT_TEST_CT 1
tTestDesc aLynx_Void_IntTests[] = {
static
tTestDesc aLynx_Void_IntTests[] = {
{ TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Lynx_Void_Int
* Fix Command Arguments for Lynx_Void_Int
*/
*/
const char* apzLynx_Void_IntPatch[] = {
static
const char* apzLynx_Void_IntPatch[] = {
"format",
"format",
"",
"",
(char*)NULL };
(char*)NULL };
...
@@ -2450,13 +2450,13 @@ tSCC zLynxos_Fcntl_ProtoSelect0[] =
...
@@ -2450,13 +2450,13 @@ tSCC zLynxos_Fcntl_ProtoSelect0[] =
"fcntl[ \t]*\\(int, int, int\\)";
"fcntl[ \t]*\\(int, int, int\\)";
#define LYNXOS_FCNTL_PROTO_TEST_CT 1
#define LYNXOS_FCNTL_PROTO_TEST_CT 1
tTestDesc aLynxos_Fcntl_ProtoTests[] = {
static
tTestDesc aLynxos_Fcntl_ProtoTests[] = {
{ TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Lynxos_Fcntl_Proto
* Fix Command Arguments for Lynxos_Fcntl_Proto
*/
*/
const char* apzLynxos_Fcntl_ProtoPatch[] = {
static
const char* apzLynxos_Fcntl_ProtoPatch[] = {
"format",
"format",
"%1...)",
"%1...)",
"(fcntl[ \t]*\\(int, int, )int\\)",
"(fcntl[ \t]*\\(int, int, )int\\)",
...
@@ -2489,13 +2489,13 @@ tSCC zM88k_Bad_Hypot_OptSelect0[] =
...
@@ -2489,13 +2489,13 @@ tSCC zM88k_Bad_Hypot_OptSelect0[] =
"^extern double hypot\\(\\);\n";
"^extern double hypot\\(\\);\n";
#define M88K_BAD_HYPOT_OPT_TEST_CT 1
#define M88K_BAD_HYPOT_OPT_TEST_CT 1
tTestDesc aM88k_Bad_Hypot_OptTests[] = {
static
tTestDesc aM88k_Bad_Hypot_OptTests[] = {
{ TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for M88k_Bad_Hypot_Opt
* Fix Command Arguments for M88k_Bad_Hypot_Opt
*/
*/
const char* apzM88k_Bad_Hypot_OptPatch[] = {
static
const char* apzM88k_Bad_Hypot_OptPatch[] = {
"format",
"format",
"%0/* Workaround a stupid Motorola optimization if one\n\
"%0/* Workaround a stupid Motorola optimization if one\n\
of x or y is 0.0 and the other is negative! */\n\
of x or y is 0.0 and the other is negative! */\n\
...
@@ -2538,13 +2538,13 @@ tSCC zM88k_Bad_S_IfSelect0[] =
...
@@ -2538,13 +2538,13 @@ tSCC zM88k_Bad_S_IfSelect0[] =
"#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
"#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
#define M88K_BAD_S_IF_TEST_CT 1
#define M88K_BAD_S_IF_TEST_CT 1
tTestDesc aM88k_Bad_S_IfTests[] = {
static
tTestDesc aM88k_Bad_S_IfTests[] = {
{ TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for M88k_Bad_S_If
* Fix Command Arguments for M88k_Bad_S_If
*/
*/
const char* apzM88k_Bad_S_IfPatch[] = {
static
const char* apzM88k_Bad_S_IfPatch[] = {
"format",
"format",
"#define %1(m) (((m) & S_IFMT) == %2)",
"#define %1(m) (((m) & S_IFMT) == %2)",
"#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
"#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
...
@@ -2577,13 +2577,13 @@ tSCC zM88k_Multi_InclBypass0[] =
...
@@ -2577,13 +2577,13 @@ tSCC zM88k_Multi_InclBypass0[] =
"#ifndef";
"#ifndef";
#define M88K_MULTI_INCL_TEST_CT 1
#define M88K_MULTI_INCL_TEST_CT 1
tTestDesc aM88k_Multi_InclTests[] = {
static
tTestDesc aM88k_Multi_InclTests[] = {
{ TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for M88k_Multi_Incl
* Fix Command Arguments for M88k_Multi_Incl
*/
*/
const char* apzM88k_Multi_InclPatch[] = {
static
const char* apzM88k_Multi_InclPatch[] = {
"wrap",
"wrap",
(char*)NULL };
(char*)NULL };
...
@@ -2618,14 +2618,14 @@ tSCC zMachine_Ansi_H_Va_ListBypass0[] =
...
@@ -2618,14 +2618,14 @@ tSCC zMachine_Ansi_H_Va_ListBypass0[] =
"__builtin_va_list";
"__builtin_va_list";
#define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
#define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
static
tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
{ TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
{ TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
{ TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Machine_Ansi_H_Va_List
* Fix Command Arguments for Machine_Ansi_H_Va_List
*/
*/
const char* apzMachine_Ansi_H_Va_ListPatch[] = {
static
const char* apzMachine_Ansi_H_Va_ListPatch[] = {
"format",
"format",
"%1__builtin_va_list",
"%1__builtin_va_list",
"(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
"(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
...
@@ -2654,13 +2654,13 @@ tSCC zMachine_NameName[] =
...
@@ -2654,13 +2654,13 @@ tSCC zMachine_NameName[] =
tSCC zMachine_NameFTst0[] = "machine_name";
tSCC zMachine_NameFTst0[] = "machine_name";
#define MACHINE_NAME_TEST_CT 1
#define MACHINE_NAME_TEST_CT 1
tTestDesc aMachine_NameTests[] = {
static
tTestDesc aMachine_NameTests[] = {
{ TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
{ TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
/*
/*
* Fix Command Arguments for Machine_Name
* Fix Command Arguments for Machine_Name
*/
*/
const char* apzMachine_NamePatch[] = {
static
const char* apzMachine_NamePatch[] = {
"machine_name",
"machine_name",
(char*)NULL };
(char*)NULL };
...
@@ -2695,14 +2695,14 @@ tSCC zMath_ExceptionBypass0[] =
...
@@ -2695,14 +2695,14 @@ tSCC zMath_ExceptionBypass0[] =
"We have a problem when using C\\+\\+";
"We have a problem when using C\\+\\+";
#define MATH_EXCEPTION_TEST_CT 2
#define MATH_EXCEPTION_TEST_CT 2
tTestDesc aMath_ExceptionTests[] = {
static
tTestDesc aMath_ExceptionTests[] = {
{ TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
{ TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
{ TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Math_Exception
* Fix Command Arguments for Math_Exception
*/
*/
const char* apzMath_ExceptionPatch[] = {
static
const char* apzMath_ExceptionPatch[] = {
"wrap",
"wrap",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
#define exception __math_exception\n\
#define exception __math_exception\n\
...
@@ -2743,14 +2743,14 @@ tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
...
@@ -2743,14 +2743,14 @@ tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
"define[ \t]+DBL_MAX";
"define[ \t]+DBL_MAX";
#define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
#define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
static
tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
{ TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
{ TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
{ TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
* Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
*/
*/
const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
static
const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
"\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
"\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
\n\
\n\
\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
...
@@ -2784,13 +2784,13 @@ tSCC zMath_Huge_Val_IfndefSelect0[] =
...
@@ -2784,13 +2784,13 @@ tSCC zMath_Huge_Val_IfndefSelect0[] =
"define[ \t]+HUGE_VAL";
"define[ \t]+HUGE_VAL";
#define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
#define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
tTestDesc aMath_Huge_Val_IfndefTests[] = {
static
tTestDesc aMath_Huge_Val_IfndefTests[] = {
{ TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Math_Huge_Val_Ifndef
* Fix Command Arguments for Math_Huge_Val_Ifndef
*/
*/
const char* apzMath_Huge_Val_IfndefPatch[] = {
static
const char* apzMath_Huge_Val_IfndefPatch[] = {
"format",
"format",
"#ifndef HUGE_VAL\n\
"#ifndef HUGE_VAL\n\
%0\n\
%0\n\
...
@@ -2825,13 +2825,13 @@ tSCC zNested_MotorolaSelect0[] =
...
@@ -2825,13 +2825,13 @@ tSCC zNested_MotorolaSelect0[] =
"max # bytes atomic in write|error value returned by Math lib";
"max # bytes atomic in write|error value returned by Math lib";
#define NESTED_MOTOROLA_TEST_CT 1
#define NESTED_MOTOROLA_TEST_CT 1
tTestDesc aNested_MotorolaTests[] = {
static
tTestDesc aNested_MotorolaTests[] = {
{ TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Nested_Motorola
* Fix Command Arguments for Nested_Motorola
*/
*/
const char* apzNested_MotorolaPatch[] = { "sed",
static
const char* apzNested_MotorolaPatch[] = { "sed",
"-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
"-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
"-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
"-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
(char*)NULL };
(char*)NULL };
...
@@ -2861,13 +2861,13 @@ tSCC zNested_Sys_LimitsSelect0[] =
...
@@ -2861,13 +2861,13 @@ tSCC zNested_Sys_LimitsSelect0[] =
"CHILD_MAX";
"CHILD_MAX";
#define NESTED_SYS_LIMITS_TEST_CT 1
#define NESTED_SYS_LIMITS_TEST_CT 1
tTestDesc aNested_Sys_LimitsTests[] = {
static
tTestDesc aNested_Sys_LimitsTests[] = {
{ TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Nested_Sys_Limits
* Fix Command Arguments for Nested_Sys_Limits
*/
*/
const char* apzNested_Sys_LimitsPatch[] = { "sed",
static
const char* apzNested_Sys_LimitsPatch[] = { "sed",
"-e", "/CHILD_MAX/s,/\\* Max, Max,",
"-e", "/CHILD_MAX/s,/\\* Max, Max,",
"-e", "/OPEN_MAX/s,/\\* Max, Max,",
"-e", "/OPEN_MAX/s,/\\* Max, Max,",
(char*)NULL };
(char*)NULL };
...
@@ -2897,13 +2897,13 @@ tSCC zNested_Auth_DesSelect0[] =
...
@@ -2897,13 +2897,13 @@ tSCC zNested_Auth_DesSelect0[] =
"(/\\*.*rpc/auth_des\\.h>.*)/\\*";
"(/\\*.*rpc/auth_des\\.h>.*)/\\*";
#define NESTED_AUTH_DES_TEST_CT 1
#define NESTED_AUTH_DES_TEST_CT 1
tTestDesc aNested_Auth_DesTests[] = {
static
tTestDesc aNested_Auth_DesTests[] = {
{ TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Nested_Auth_Des
* Fix Command Arguments for Nested_Auth_Des
*/
*/
const char* apzNested_Auth_DesPatch[] = {
static
const char* apzNested_Auth_DesPatch[] = {
"format",
"format",
"%1*/ /*",
"%1*/ /*",
(char*)NULL };
(char*)NULL };
...
@@ -2933,13 +2933,13 @@ tSCC zNews_Os_RecursionSelect0[] =
...
@@ -2933,13 +2933,13 @@ tSCC zNews_Os_RecursionSelect0[] =
"[ \t]*#include <stdlib\\.h>.*";
"[ \t]*#include <stdlib\\.h>.*";
#define NEWS_OS_RECURSION_TEST_CT 1
#define NEWS_OS_RECURSION_TEST_CT 1
tTestDesc aNews_Os_RecursionTests[] = {
static
tTestDesc aNews_Os_RecursionTests[] = {
{ TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for News_Os_Recursion
* Fix Command Arguments for News_Os_Recursion
*/
*/
const char* apzNews_Os_RecursionPatch[] = {
static
const char* apzNews_Os_RecursionPatch[] = {
"format",
"format",
"#ifdef BOGUS_RECURSION\n\
"#ifdef BOGUS_RECURSION\n\
%0\n\
%0\n\
...
@@ -2971,13 +2971,13 @@ tSCC zNext_Math_PrefixSelect0[] =
...
@@ -2971,13 +2971,13 @@ tSCC zNext_Math_PrefixSelect0[] =
"^extern[ \t]+double[ \t]+__const__[ \t]";
"^extern[ \t]+double[ \t]+__const__[ \t]";
#define NEXT_MATH_PREFIX_TEST_CT 1
#define NEXT_MATH_PREFIX_TEST_CT 1
tTestDesc aNext_Math_PrefixTests[] = {
static
tTestDesc aNext_Math_PrefixTests[] = {
{ TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Next_Math_Prefix
* Fix Command Arguments for Next_Math_Prefix
*/
*/
const char* apzNext_Math_PrefixPatch[] = {
static
const char* apzNext_Math_PrefixPatch[] = {
"format",
"format",
"extern double %1(",
"extern double %1(",
"^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
"^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
...
@@ -3008,13 +3008,13 @@ tSCC zNext_TemplateSelect0[] =
...
@@ -3008,13 +3008,13 @@ tSCC zNext_TemplateSelect0[] =
"[ \t]template\\)";
"[ \t]template\\)";
#define NEXT_TEMPLATE_TEST_CT 1
#define NEXT_TEMPLATE_TEST_CT 1
tTestDesc aNext_TemplateTests[] = {
static
tTestDesc aNext_TemplateTests[] = {
{ TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Next_Template
* Fix Command Arguments for Next_Template
*/
*/
const char* apzNext_TemplatePatch[] = {
static
const char* apzNext_TemplatePatch[] = {
"format",
"format",
"(%1)",
"(%1)",
"\\(([^)]*)[ \t]template\\)",
"\\(([^)]*)[ \t]template\\)",
...
@@ -3045,13 +3045,13 @@ tSCC zNext_VolitileSelect0[] =
...
@@ -3045,13 +3045,13 @@ tSCC zNext_VolitileSelect0[] =
"^extern[ \t]+volatile[ \t]+void[ \t]";
"^extern[ \t]+volatile[ \t]+void[ \t]";
#define NEXT_VOLITILE_TEST_CT 1
#define NEXT_VOLITILE_TEST_CT 1
tTestDesc aNext_VolitileTests[] = {
static
tTestDesc aNext_VolitileTests[] = {
{ TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Next_Volitile
* Fix Command Arguments for Next_Volitile
*/
*/
const char* apzNext_VolitilePatch[] = {
static
const char* apzNext_VolitilePatch[] = {
"format",
"format",
"extern void %1(",
"extern void %1(",
"^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
"^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
...
@@ -3082,13 +3082,13 @@ tSCC zNext_Wait_UnionSelect0[] =
...
@@ -3082,13 +3082,13 @@ tSCC zNext_Wait_UnionSelect0[] =
"wait\\(union wait";
"wait\\(union wait";
#define NEXT_WAIT_UNION_TEST_CT 1
#define NEXT_WAIT_UNION_TEST_CT 1
tTestDesc aNext_Wait_UnionTests[] = {
static
tTestDesc aNext_Wait_UnionTests[] = {
{ TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Next_Wait_Union
* Fix Command Arguments for Next_Wait_Union
*/
*/
const char* apzNext_Wait_UnionPatch[] = {
static
const char* apzNext_Wait_UnionPatch[] = {
"format",
"format",
"wait(void",
"wait(void",
(char*)NULL };
(char*)NULL };
...
@@ -3118,13 +3118,13 @@ tSCC zNodeent_SyntaxSelect0[] =
...
@@ -3118,13 +3118,13 @@ tSCC zNodeent_SyntaxSelect0[] =
"char[ \t]*\\*na_addr[ \t]*$";
"char[ \t]*\\*na_addr[ \t]*$";
#define NODEENT_SYNTAX_TEST_CT 1
#define NODEENT_SYNTAX_TEST_CT 1
tTestDesc aNodeent_SyntaxTests[] = {
static
tTestDesc aNodeent_SyntaxTests[] = {
{ TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Nodeent_Syntax
* Fix Command Arguments for Nodeent_Syntax
*/
*/
const char* apzNodeent_SyntaxPatch[] = {
static
const char* apzNodeent_SyntaxPatch[] = {
"format",
"format",
"%0;",
"%0;",
(char*)NULL };
(char*)NULL };
...
@@ -3160,7 +3160,7 @@ tSCC zOsf_Namespace_ATest3[] =
...
@@ -3160,7 +3160,7 @@ tSCC zOsf_Namespace_ATest3[] =
" -z \"`grep __regex_t regex.h`\"";
" -z \"`grep __regex_t regex.h`\"";
#define OSF_NAMESPACE_A_TEST_CT 4
#define OSF_NAMESPACE_A_TEST_CT 4
tTestDesc aOsf_Namespace_ATests[] = {
static
tTestDesc aOsf_Namespace_ATests[] = {
{ TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
...
@@ -3169,7 +3169,7 @@ tTestDesc aOsf_Namespace_ATests[] = {
...
@@ -3169,7 +3169,7 @@ tTestDesc aOsf_Namespace_ATests[] = {
/*
/*
* Fix Command Arguments for Osf_Namespace_A
* Fix Command Arguments for Osf_Namespace_A
*/
*/
const char* apzOsf_Namespace_APatch[] = {
static
const char* apzOsf_Namespace_APatch[] = {
"format",
"format",
"__%0",
"__%0",
"reg(ex|off|match)_t",
"reg(ex|off|match)_t",
...
@@ -3212,7 +3212,7 @@ tSCC zOsf_Namespace_CTest3[] =
...
@@ -3212,7 +3212,7 @@ tSCC zOsf_Namespace_CTest3[] =
" -z \"`grep __regex_t regex.h`\"";
" -z \"`grep __regex_t regex.h`\"";
#define OSF_NAMESPACE_C_TEST_CT 5
#define OSF_NAMESPACE_C_TEST_CT 5
tTestDesc aOsf_Namespace_CTests[] = {
static
tTestDesc aOsf_Namespace_CTests[] = {
{ TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
{ TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
...
@@ -3222,7 +3222,7 @@ tTestDesc aOsf_Namespace_CTests[] = {
...
@@ -3222,7 +3222,7 @@ tTestDesc aOsf_Namespace_CTests[] = {
/*
/*
* Fix Command Arguments for Osf_Namespace_C
* Fix Command Arguments for Osf_Namespace_C
*/
*/
const char* apzOsf_Namespace_CPatch[] = {
static
const char* apzOsf_Namespace_CPatch[] = {
"format",
"format",
"%0\n\
"%0\n\
typedef __regex_t\tregex_t;\n\
typedef __regex_t\tregex_t;\n\
...
@@ -3255,13 +3255,13 @@ tSCC zPthread_Page_SizeSelect0[] =
...
@@ -3255,13 +3255,13 @@ tSCC zPthread_Page_SizeSelect0[] =
"^int __page_size";
"^int __page_size";
#define PTHREAD_PAGE_SIZE_TEST_CT 1
#define PTHREAD_PAGE_SIZE_TEST_CT 1
tTestDesc aPthread_Page_SizeTests[] = {
static
tTestDesc aPthread_Page_SizeTests[] = {
{ TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Pthread_Page_Size
* Fix Command Arguments for Pthread_Page_Size
*/
*/
const char* apzPthread_Page_SizePatch[] = {
static
const char* apzPthread_Page_SizePatch[] = {
"format",
"format",
"extern %0",
"extern %0",
(char*)NULL };
(char*)NULL };
...
@@ -3291,13 +3291,13 @@ tSCC zRead_Ret_TypeSelect0[] =
...
@@ -3291,13 +3291,13 @@ tSCC zRead_Ret_TypeSelect0[] =
"extern int\t.*, fread\\(\\), fwrite\\(\\)";
"extern int\t.*, fread\\(\\), fwrite\\(\\)";
#define READ_RET_TYPE_TEST_CT 1
#define READ_RET_TYPE_TEST_CT 1
tTestDesc aRead_Ret_TypeTests[] = {
static
tTestDesc aRead_Ret_TypeTests[] = {
{ TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Read_Ret_Type
* Fix Command Arguments for Read_Ret_Type
*/
*/
const char* apzRead_Ret_TypePatch[] = {
static
const char* apzRead_Ret_TypePatch[] = {
"format",
"format",
"extern unsigned int fread(), fwrite();\n\
"extern unsigned int fread(), fwrite();\n\
%1%2",
%1%2",
...
@@ -3329,13 +3329,13 @@ tSCC zRs6000_DoubleSelect0[] =
...
@@ -3329,13 +3329,13 @@ tSCC zRs6000_DoubleSelect0[] =
"[^a-zA-Z_]class\\(";
"[^a-zA-Z_]class\\(";
#define RS6000_DOUBLE_TEST_CT 1
#define RS6000_DOUBLE_TEST_CT 1
tTestDesc aRs6000_DoubleTests[] = {
static
tTestDesc aRs6000_DoubleTests[] = {
{ TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Rs6000_Double
* Fix Command Arguments for Rs6000_Double
*/
*/
const char* apzRs6000_DoublePatch[] = {
static
const char* apzRs6000_DoublePatch[] = {
"format",
"format",
"#ifndef __cplusplus\n\
"#ifndef __cplusplus\n\
%0\n\
%0\n\
...
@@ -3368,13 +3368,13 @@ tSCC zRs6000_FchmodSelect0[] =
...
@@ -3368,13 +3368,13 @@ tSCC zRs6000_FchmodSelect0[] =
"fchmod\\(char \\*";
"fchmod\\(char \\*";
#define RS6000_FCHMOD_TEST_CT 1
#define RS6000_FCHMOD_TEST_CT 1
tTestDesc aRs6000_FchmodTests[] = {
static
tTestDesc aRs6000_FchmodTests[] = {
{ TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Rs6000_Fchmod
* Fix Command Arguments for Rs6000_Fchmod
*/
*/
const char* apzRs6000_FchmodPatch[] = {
static
const char* apzRs6000_FchmodPatch[] = {
"format",
"format",
"fchmod(int",
"fchmod(int",
(char*)NULL };
(char*)NULL };
...
@@ -3404,13 +3404,13 @@ tSCC zRs6000_ParamSelect0[] =
...
@@ -3404,13 +3404,13 @@ tSCC zRs6000_ParamSelect0[] =
"rename\\(const char \\*old, const char \\*new\\)";
"rename\\(const char \\*old, const char \\*new\\)";
#define RS6000_PARAM_TEST_CT 1
#define RS6000_PARAM_TEST_CT 1
tTestDesc aRs6000_ParamTests[] = {
static
tTestDesc aRs6000_ParamTests[] = {
{ TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Rs6000_Param
* Fix Command Arguments for Rs6000_Param
*/
*/
const char* apzRs6000_ParamPatch[] = {
static
const char* apzRs6000_ParamPatch[] = {
"format",
"format",
"rename(const char *_old, const char *_new)",
"rename(const char *_old, const char *_new)",
(char*)NULL };
(char*)NULL };
...
@@ -3442,13 +3442,13 @@ tSCC zSco_Static_FuncSelect0[] =
...
@@ -3442,13 +3442,13 @@ tSCC zSco_Static_FuncSelect0[] =
"^static int";
"^static int";
#define SCO_STATIC_FUNC_TEST_CT 1
#define SCO_STATIC_FUNC_TEST_CT 1
tTestDesc aSco_Static_FuncTests[] = {
static
tTestDesc aSco_Static_FuncTests[] = {
{ TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sco_Static_Func
* Fix Command Arguments for Sco_Static_Func
*/
*/
const char* apzSco_Static_FuncPatch[] = { "sed",
static
const char* apzSco_Static_FuncPatch[] = { "sed",
"-e", "/^static int/i\\\n\
"-e", "/^static int/i\\\n\
#if __cplusplus\\\n\
#if __cplusplus\\\n\
extern \"C\" {\\\n\
extern \"C\" {\\\n\
...
@@ -3485,13 +3485,13 @@ tSCC zSco_Strict_AnsiSelect0[] =
...
@@ -3485,13 +3485,13 @@ tSCC zSco_Strict_AnsiSelect0[] =
"^[ \t]*#[ \t]*if.*!__STDC__";
"^[ \t]*#[ \t]*if.*!__STDC__";
#define SCO_STRICT_ANSI_TEST_CT 1
#define SCO_STRICT_ANSI_TEST_CT 1
tTestDesc aSco_Strict_AnsiTests[] = {
static
tTestDesc aSco_Strict_AnsiTests[] = {
{ TT_EGREP, zSco_Strict_AnsiSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSco_Strict_AnsiSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sco_Strict_Ansi
* Fix Command Arguments for Sco_Strict_Ansi
*/
*/
const char* apzSco_Strict_AnsiPatch[] = {
static
const char* apzSco_Strict_AnsiPatch[] = {
"format",
"format",
"%1defined(__STRICT_ANSI__)%2",
"%1defined(__STRICT_ANSI__)%2",
"^([ \t]*#[ \t]*if[ \t].*!)__STDC__(.*)",
"^([ \t]*#[ \t]*if[ \t].*!)__STDC__(.*)",
...
@@ -3524,13 +3524,13 @@ tSCC zSco_UtimeSelect0[] =
...
@@ -3524,13 +3524,13 @@ tSCC zSco_UtimeSelect0[] =
"\\(const char \\*, struct utimbuf \\*\\);";
"\\(const char \\*, struct utimbuf \\*\\);";
#define SCO_UTIME_TEST_CT 1
#define SCO_UTIME_TEST_CT 1
tTestDesc aSco_UtimeTests[] = {
static
tTestDesc aSco_UtimeTests[] = {
{ TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sco_Utime
* Fix Command Arguments for Sco_Utime
*/
*/
const char* apzSco_UtimePatch[] = {
static
const char* apzSco_UtimePatch[] = {
"format",
"format",
"(const char *, const struct utimbuf *);",
"(const char *, const struct utimbuf *);",
(char*)NULL };
(char*)NULL };
...
@@ -3560,13 +3560,13 @@ tSCC zStatsswtchSelect0[] =
...
@@ -3560,13 +3560,13 @@ tSCC zStatsswtchSelect0[] =
"boottime$";
"boottime$";
#define STATSSWTCH_TEST_CT 1
#define STATSSWTCH_TEST_CT 1
tTestDesc aStatsswtchTests[] = {
static
tTestDesc aStatsswtchTests[] = {
{ TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Statsswtch
* Fix Command Arguments for Statsswtch
*/
*/
const char* apzStatsswtchPatch[] = {
static
const char* apzStatsswtchPatch[] = {
"format",
"format",
"boottime;",
"boottime;",
(char*)NULL };
(char*)NULL };
...
@@ -3596,13 +3596,13 @@ tSCC zStdio_Stdarg_HBypass0[] =
...
@@ -3596,13 +3596,13 @@ tSCC zStdio_Stdarg_HBypass0[] =
"include.*(stdarg.h|machine/ansi.h)";
"include.*(stdarg.h|machine/ansi.h)";
#define STDIO_STDARG_H_TEST_CT 1
#define STDIO_STDARG_H_TEST_CT 1
tTestDesc aStdio_Stdarg_HTests[] = {
static
tTestDesc aStdio_Stdarg_HTests[] = {
{ TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Stdio_Stdarg_H
* Fix Command Arguments for Stdio_Stdarg_H
*/
*/
const char* apzStdio_Stdarg_HPatch[] = {
static
const char* apzStdio_Stdarg_HPatch[] = {
"wrap",
"wrap",
"#define __need___va_list\n\
"#define __need___va_list\n\
#include <stdarg.h>\n",
#include <stdarg.h>\n",
...
@@ -3633,13 +3633,13 @@ tSCC zStdio_Va_ListBypass0[] =
...
@@ -3633,13 +3633,13 @@ tSCC zStdio_Va_ListBypass0[] =
"__gnuc_va_list|_BSD_VA_LIST_";
"__gnuc_va_list|_BSD_VA_LIST_";
#define STDIO_VA_LIST_TEST_CT 1
#define STDIO_VA_LIST_TEST_CT 1
tTestDesc aStdio_Va_ListTests[] = {
static
tTestDesc aStdio_Va_ListTests[] = {
{ TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Stdio_Va_List
* Fix Command Arguments for Stdio_Va_List
*/
*/
const char* apzStdio_Va_ListPatch[] = { "sed",
static
const char* apzStdio_Va_ListPatch[] = { "sed",
"-e", "s@ va_list @ __gnuc_va_list @\n\
"-e", "s@ va_list @ __gnuc_va_list @\n\
s@ va_list)@ __gnuc_va_list)@\n\
s@ va_list)@ __gnuc_va_list)@\n\
s@ _VA_LIST_));@ __gnuc_va_list));@\n\
s@ _VA_LIST_));@ __gnuc_va_list));@\n\
...
@@ -3678,13 +3678,13 @@ tSCC zStruct_FileSelect0[] =
...
@@ -3678,13 +3678,13 @@ tSCC zStruct_FileSelect0[] =
"^.*xdrstdio_create.*struct __file_s";
"^.*xdrstdio_create.*struct __file_s";
#define STRUCT_FILE_TEST_CT 1
#define STRUCT_FILE_TEST_CT 1
tTestDesc aStruct_FileTests[] = {
static
tTestDesc aStruct_FileTests[] = {
{ TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Struct_File
* Fix Command Arguments for Struct_File
*/
*/
const char* apzStruct_FilePatch[] = {
static
const char* apzStruct_FilePatch[] = {
"format",
"format",
"struct __file_s;\n\
"struct __file_s;\n\
%0",
%0",
...
@@ -3721,14 +3721,14 @@ tSCC zStruct_SockaddrBypass0[] =
...
@@ -3721,14 +3721,14 @@ tSCC zStruct_SockaddrBypass0[] =
"<sys/socket.h>";
"<sys/socket.h>";
#define STRUCT_SOCKADDR_TEST_CT 2
#define STRUCT_SOCKADDR_TEST_CT 2
tTestDesc aStruct_SockaddrTests[] = {
static
tTestDesc aStruct_SockaddrTests[] = {
{ TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
{ TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
{ TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Struct_Sockaddr
* Fix Command Arguments for Struct_Sockaddr
*/
*/
const char* apzStruct_SockaddrPatch[] = {
static
const char* apzStruct_SockaddrPatch[] = {
"format",
"format",
"struct sockaddr;\n\
"struct sockaddr;\n\
%0",
%0",
...
@@ -3759,13 +3759,13 @@ tSCC zSun_Auth_ProtoSelect0[] =
...
@@ -3759,13 +3759,13 @@ tSCC zSun_Auth_ProtoSelect0[] =
"\\(\\*[a-z][a-z_]*\\)\\(\\)";
"\\(\\*[a-z][a-z_]*\\)\\(\\)";
#define SUN_AUTH_PROTO_TEST_CT 1
#define SUN_AUTH_PROTO_TEST_CT 1
tTestDesc aSun_Auth_ProtoTests[] = {
static
tTestDesc aSun_Auth_ProtoTests[] = {
{ TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sun_Auth_Proto
* Fix Command Arguments for Sun_Auth_Proto
*/
*/
const char* apzSun_Auth_ProtoPatch[] = {
static
const char* apzSun_Auth_ProtoPatch[] = {
"format",
"format",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
%1(...);%2\n\
%1(...);%2\n\
...
@@ -3800,13 +3800,13 @@ tSCC zSun_Bogus_IfdefSelect0[] =
...
@@ -3800,13 +3800,13 @@ tSCC zSun_Bogus_IfdefSelect0[] =
"#ifdef(.*\\|\\|.*)";
"#ifdef(.*\\|\\|.*)";
#define SUN_BOGUS_IFDEF_TEST_CT 1
#define SUN_BOGUS_IFDEF_TEST_CT 1
tTestDesc aSun_Bogus_IfdefTests[] = {
static
tTestDesc aSun_Bogus_IfdefTests[] = {
{ TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sun_Bogus_Ifdef
* Fix Command Arguments for Sun_Bogus_Ifdef
*/
*/
const char* apzSun_Bogus_IfdefPatch[] = {
static
const char* apzSun_Bogus_IfdefPatch[] = {
"format",
"format",
"#if%1",
"#if%1",
(char*)NULL };
(char*)NULL };
...
@@ -3836,13 +3836,13 @@ tSCC zSun_CatmacroSelect0[] =
...
@@ -3836,13 +3836,13 @@ tSCC zSun_CatmacroSelect0[] =
"^#define[ \t]+CAT\\(a,b\\).*";
"^#define[ \t]+CAT\\(a,b\\).*";
#define SUN_CATMACRO_TEST_CT 1
#define SUN_CATMACRO_TEST_CT 1
tTestDesc aSun_CatmacroTests[] = {
static
tTestDesc aSun_CatmacroTests[] = {
{ TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sun_Catmacro
* Fix Command Arguments for Sun_Catmacro
*/
*/
const char* apzSun_CatmacroPatch[] = {
static
const char* apzSun_CatmacroPatch[] = {
"format",
"format",
"#ifdef __STDC__\n\
"#ifdef __STDC__\n\
# define CAT(a,b) a##b\n\
# define CAT(a,b) a##b\n\
...
@@ -3874,7 +3874,7 @@ tSCC zSun_MallocList[] =
...
@@ -3874,7 +3874,7 @@ tSCC zSun_MallocList[] =
/*
/*
* Fix Command Arguments for Sun_Malloc
* Fix Command Arguments for Sun_Malloc
*/
*/
const char* apzSun_MallocPatch[] = { "sed",
static
const char* apzSun_MallocPatch[] = { "sed",
"-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
"-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
"-e", "s/int[ \t][ \t]*free/void\tfree/g",
"-e", "s/int[ \t][ \t]*free/void\tfree/g",
"-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
"-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
...
@@ -3907,13 +3907,13 @@ tSCC zSun_Rusers_SemiSelect0[] =
...
@@ -3907,13 +3907,13 @@ tSCC zSun_Rusers_SemiSelect0[] =
"_cnt$";
"_cnt$";
#define SUN_RUSERS_SEMI_TEST_CT 1
#define SUN_RUSERS_SEMI_TEST_CT 1
tTestDesc aSun_Rusers_SemiTests[] = {
static
tTestDesc aSun_Rusers_SemiTests[] = {
{ TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sun_Rusers_Semi
* Fix Command Arguments for Sun_Rusers_Semi
*/
*/
const char* apzSun_Rusers_SemiPatch[] = { "sed",
static
const char* apzSun_Rusers_SemiPatch[] = { "sed",
"-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
"-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
(char*)NULL };
(char*)NULL };
...
@@ -3942,13 +3942,13 @@ tSCC zSun_SignalSelect0[] =
...
@@ -3942,13 +3942,13 @@ tSCC zSun_SignalSelect0[] =
"^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
"^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
#define SUN_SIGNAL_TEST_CT 1
#define SUN_SIGNAL_TEST_CT 1
tTestDesc aSun_SignalTests[] = {
static
tTestDesc aSun_SignalTests[] = {
{ TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sun_Signal
* Fix Command Arguments for Sun_Signal
*/
*/
const char* apzSun_SignalPatch[] = {
static
const char* apzSun_SignalPatch[] = {
"format",
"format",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
void\t(*signal(...))(...);\n\
void\t(*signal(...))(...);\n\
...
@@ -3988,14 +3988,14 @@ tSCC zSunos_Matherr_DeclBypass0[] =
...
@@ -3988,14 +3988,14 @@ tSCC zSunos_Matherr_DeclBypass0[] =
"matherr.*struct exception";
"matherr.*struct exception";
#define SUNOS_MATHERR_DECL_TEST_CT 2
#define SUNOS_MATHERR_DECL_TEST_CT 2
tTestDesc aSunos_Matherr_DeclTests[] = {
static
tTestDesc aSunos_Matherr_DeclTests[] = {
{ TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
{ TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
{ TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sunos_Matherr_Decl
* Fix Command Arguments for Sunos_Matherr_Decl
*/
*/
const char* apzSunos_Matherr_DeclPatch[] = {
static
const char* apzSunos_Matherr_DeclPatch[] = {
"wrap",
"wrap",
"struct exception;\n",
"struct exception;\n",
(char*)NULL };
(char*)NULL };
...
@@ -4025,13 +4025,13 @@ tSCC zSunos_StrlenSelect0[] =
...
@@ -4025,13 +4025,13 @@ tSCC zSunos_StrlenSelect0[] =
"int[ \t]*strlen\\(\\);(.*)";
"int[ \t]*strlen\\(\\);(.*)";
#define SUNOS_STRLEN_TEST_CT 1
#define SUNOS_STRLEN_TEST_CT 1
tTestDesc aSunos_StrlenTests[] = {
static
tTestDesc aSunos_StrlenTests[] = {
{ TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sunos_Strlen
* Fix Command Arguments for Sunos_Strlen
*/
*/
const char* apzSunos_StrlenPatch[] = {
static
const char* apzSunos_StrlenPatch[] = {
"format",
"format",
"__SIZE_TYPE__ strlen();%1",
"__SIZE_TYPE__ strlen();%1",
(char*)NULL };
(char*)NULL };
...
@@ -4061,13 +4061,13 @@ tSCC zSvr4__PSelect0[] =
...
@@ -4061,13 +4061,13 @@ tSCC zSvr4__PSelect0[] =
"^#define[ \t]+__P.*";
"^#define[ \t]+__P.*";
#define SVR4__P_TEST_CT 1
#define SVR4__P_TEST_CT 1
tTestDesc aSvr4__PTests[] = {
static
tTestDesc aSvr4__PTests[] = {
{ TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Svr4__P
* Fix Command Arguments for Svr4__P
*/
*/
const char* apzSvr4__PPatch[] = {
static
const char* apzSvr4__PPatch[] = {
"format",
"format",
"#ifndef __P\n\
"#ifndef __P\n\
%0\n\
%0\n\
...
@@ -4099,13 +4099,13 @@ tSCC zSvr4_GetcwdSelect0[] =
...
@@ -4099,13 +4099,13 @@ tSCC zSvr4_GetcwdSelect0[] =
"getcwd\\(char \\*, int\\)";
"getcwd\\(char \\*, int\\)";
#define SVR4_GETCWD_TEST_CT 1
#define SVR4_GETCWD_TEST_CT 1
tTestDesc aSvr4_GetcwdTests[] = {
static
tTestDesc aSvr4_GetcwdTests[] = {
{ TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Svr4_Getcwd
* Fix Command Arguments for Svr4_Getcwd
*/
*/
const char* apzSvr4_GetcwdPatch[] = {
static
const char* apzSvr4_GetcwdPatch[] = {
"format",
"format",
"getcwd(char *, size_t)",
"getcwd(char *, size_t)",
(char*)NULL };
(char*)NULL };
...
@@ -4135,13 +4135,13 @@ tSCC zSvr4_ProfilSelect0[] =
...
@@ -4135,13 +4135,13 @@ tSCC zSvr4_ProfilSelect0[] =
"profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
"profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
#define SVR4_PROFIL_TEST_CT 1
#define SVR4_PROFIL_TEST_CT 1
tTestDesc aSvr4_ProfilTests[] = {
static
tTestDesc aSvr4_ProfilTests[] = {
{ TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Svr4_Profil
* Fix Command Arguments for Svr4_Profil
*/
*/
const char* apzSvr4_ProfilPatch[] = {
static
const char* apzSvr4_ProfilPatch[] = {
"format",
"format",
"profil(unsigned short *, size_t, int, unsigned int)",
"profil(unsigned short *, size_t, int, unsigned int)",
(char*)NULL };
(char*)NULL };
...
@@ -4177,14 +4177,14 @@ tSCC zGnu_TypesBypass0[] =
...
@@ -4177,14 +4177,14 @@ tSCC zGnu_TypesBypass0[] =
"_GCC_(PTRDIFF|SIZE|WCHAR)_T";
"_GCC_(PTRDIFF|SIZE|WCHAR)_T";
#define GNU_TYPES_TEST_CT 2
#define GNU_TYPES_TEST_CT 2
tTestDesc aGnu_TypesTests[] = {
static
tTestDesc aGnu_TypesTests[] = {
{ TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
{ TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
{ TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Gnu_Types
* Fix Command Arguments for Gnu_Types
*/
*/
const char* apzGnu_TypesPatch[] = {
static
const char* apzGnu_TypesPatch[] = {
"gnu_type",
"gnu_type",
(char*)NULL };
(char*)NULL };
...
@@ -4211,7 +4211,7 @@ tSCC zSysv68_StringList[] =
...
@@ -4211,7 +4211,7 @@ tSCC zSysv68_StringList[] =
/*
/*
* Fix Command Arguments for Sysv68_String
* Fix Command Arguments for Sysv68_String
*/
*/
const char* apzSysv68_StringPatch[] = { "sed",
static
const char* apzSysv68_StringPatch[] = { "sed",
"-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
"-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
"-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
"-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
"-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
"-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
...
@@ -4250,13 +4250,13 @@ tSCC zSysz_Stdlib_For_SunSelect0[] =
...
@@ -4250,13 +4250,13 @@ tSCC zSysz_Stdlib_For_SunSelect0[] =
"char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
"char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
#define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
#define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
tTestDesc aSysz_Stdlib_For_SunTests[] = {
static
tTestDesc aSysz_Stdlib_For_SunTests[] = {
{ TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Sysz_Stdlib_For_Sun
* Fix Command Arguments for Sysz_Stdlib_For_Sun
*/
*/
const char* apzSysz_Stdlib_For_SunPatch[] = {
static
const char* apzSysz_Stdlib_For_SunPatch[] = {
"format",
"format",
"void *\t%1(",
"void *\t%1(",
(char*)NULL };
(char*)NULL };
...
@@ -4286,13 +4286,13 @@ tSCC zTinfo_CplusplusSelect0[] =
...
@@ -4286,13 +4286,13 @@ tSCC zTinfo_CplusplusSelect0[] =
"[ \t]_cplusplus";
"[ \t]_cplusplus";
#define TINFO_CPLUSPLUS_TEST_CT 1
#define TINFO_CPLUSPLUS_TEST_CT 1
tTestDesc aTinfo_CplusplusTests[] = {
static
tTestDesc aTinfo_CplusplusTests[] = {
{ TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Tinfo_Cplusplus
* Fix Command Arguments for Tinfo_Cplusplus
*/
*/
const char* apzTinfo_CplusplusPatch[] = {
static
const char* apzTinfo_CplusplusPatch[] = {
"format",
"format",
" __cplusplus",
" __cplusplus",
(char*)NULL };
(char*)NULL };
...
@@ -4322,13 +4322,13 @@ tSCC zUltrix_Atof_ParamSelect0[] =
...
@@ -4322,13 +4322,13 @@ tSCC zUltrix_Atof_ParamSelect0[] =
"atof\\([ \t]*char";
"atof\\([ \t]*char";
#define ULTRIX_ATOF_PARAM_TEST_CT 1
#define ULTRIX_ATOF_PARAM_TEST_CT 1
tTestDesc aUltrix_Atof_ParamTests[] = {
static
tTestDesc aUltrix_Atof_ParamTests[] = {
{ TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Atof_Param
* Fix Command Arguments for Ultrix_Atof_Param
*/
*/
const char* apzUltrix_Atof_ParamPatch[] = {
static
const char* apzUltrix_Atof_ParamPatch[] = {
"format",
"format",
"atof(const char",
"atof(const char",
(char*)NULL };
(char*)NULL };
...
@@ -4358,13 +4358,13 @@ tSCC zUltrix_ConstSelect0[] =
...
@@ -4358,13 +4358,13 @@ tSCC zUltrix_ConstSelect0[] =
"perror\\( char \\*";
"perror\\( char \\*";
#define ULTRIX_CONST_TEST_CT 1
#define ULTRIX_CONST_TEST_CT 1
tTestDesc aUltrix_ConstTests[] = {
static
tTestDesc aUltrix_ConstTests[] = {
{ TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Const
* Fix Command Arguments for Ultrix_Const
*/
*/
const char* apzUltrix_ConstPatch[] = {
static
const char* apzUltrix_ConstPatch[] = {
"format",
"format",
"%1 const %3 *__",
"%1 const %3 *__",
"([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
"([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
...
@@ -4395,13 +4395,13 @@ tSCC zUltrix_Const2Select0[] =
...
@@ -4395,13 +4395,13 @@ tSCC zUltrix_Const2Select0[] =
"\\*fopen\\( char \\*";
"\\*fopen\\( char \\*";
#define ULTRIX_CONST2_TEST_CT 1
#define ULTRIX_CONST2_TEST_CT 1
tTestDesc aUltrix_Const2Tests[] = {
static
tTestDesc aUltrix_Const2Tests[] = {
{ TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Const2
* Fix Command Arguments for Ultrix_Const2
*/
*/
const char* apzUltrix_Const2Patch[] = {
static
const char* apzUltrix_Const2Patch[] = {
"format",
"format",
"%1( const char *%3, const char *",
"%1( const char *%3, const char *",
"([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
"([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
...
@@ -4432,13 +4432,13 @@ tSCC zUltrix_Fix_FixprotoSelect0[] =
...
@@ -4432,13 +4432,13 @@ tSCC zUltrix_Fix_FixprotoSelect0[] =
"ULTRIX";
"ULTRIX";
#define ULTRIX_FIX_FIXPROTO_TEST_CT 1
#define ULTRIX_FIX_FIXPROTO_TEST_CT 1
tTestDesc aUltrix_Fix_FixprotoTests[] = {
static
tTestDesc aUltrix_Fix_FixprotoTests[] = {
{ TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Fix_Fixproto
* Fix Command Arguments for Ultrix_Fix_Fixproto
*/
*/
const char* apzUltrix_Fix_FixprotoPatch[] = {
static
const char* apzUltrix_Fix_FixprotoPatch[] = {
"format",
"format",
"struct utsname;\n\
"struct utsname;\n\
%0",
%0",
...
@@ -4470,13 +4470,13 @@ tSCC zUltrix_IfdefSelect0[] =
...
@@ -4470,13 +4470,13 @@ tSCC zUltrix_IfdefSelect0[] =
"^#ifdef KERNEL[ \t]+&&";
"^#ifdef KERNEL[ \t]+&&";
#define ULTRIX_IFDEF_TEST_CT 1
#define ULTRIX_IFDEF_TEST_CT 1
tTestDesc aUltrix_IfdefTests[] = {
static
tTestDesc aUltrix_IfdefTests[] = {
{ TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Ifdef
* Fix Command Arguments for Ultrix_Ifdef
*/
*/
const char* apzUltrix_IfdefPatch[] = {
static
const char* apzUltrix_IfdefPatch[] = {
"format",
"format",
"#if defined(KERNEL) &&",
"#if defined(KERNEL) &&",
(char*)NULL };
(char*)NULL };
...
@@ -4506,13 +4506,13 @@ tSCC zUltrix_Math_IfdefSelect0[] =
...
@@ -4506,13 +4506,13 @@ tSCC zUltrix_Math_IfdefSelect0[] =
"^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
"^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
#define ULTRIX_MATH_IFDEF_TEST_CT 1
#define ULTRIX_MATH_IFDEF_TEST_CT 1
tTestDesc aUltrix_Math_IfdefTests[] = {
static
tTestDesc aUltrix_Math_IfdefTests[] = {
{ TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Math_Ifdef
* Fix Command Arguments for Ultrix_Math_Ifdef
*/
*/
const char* apzUltrix_Math_IfdefPatch[] = {
static
const char* apzUltrix_Math_IfdefPatch[] = {
"format",
"format",
"%1",
"%1",
(char*)NULL };
(char*)NULL };
...
@@ -4542,13 +4542,13 @@ tSCC zUltrix_Nested_IoctlSelect0[] =
...
@@ -4542,13 +4542,13 @@ tSCC zUltrix_Nested_IoctlSelect0[] =
"^/\\* #define SIOCSCREEN";
"^/\\* #define SIOCSCREEN";
#define ULTRIX_NESTED_IOCTL_TEST_CT 1
#define ULTRIX_NESTED_IOCTL_TEST_CT 1
tTestDesc aUltrix_Nested_IoctlTests[] = {
static
tTestDesc aUltrix_Nested_IoctlTests[] = {
{ TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Nested_Ioctl
* Fix Command Arguments for Ultrix_Nested_Ioctl
*/
*/
const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
static
const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
"-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
"-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
(char*)NULL };
(char*)NULL };
...
@@ -4577,13 +4577,13 @@ tSCC zUltrix_Nested_SvcSelect0[] =
...
@@ -4577,13 +4577,13 @@ tSCC zUltrix_Nested_SvcSelect0[] =
"^ \\*[ \t]*int protocol; */\\*";
"^ \\*[ \t]*int protocol; */\\*";
#define ULTRIX_NESTED_SVC_TEST_CT 1
#define ULTRIX_NESTED_SVC_TEST_CT 1
tTestDesc aUltrix_Nested_SvcTests[] = {
static
tTestDesc aUltrix_Nested_SvcTests[] = {
{ TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Nested_Svc
* Fix Command Arguments for Ultrix_Nested_Svc
*/
*/
const char* apzUltrix_Nested_SvcPatch[] = { "sed",
static
const char* apzUltrix_Nested_SvcPatch[] = { "sed",
"-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
"-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
(char*)NULL };
(char*)NULL };
...
@@ -4612,13 +4612,13 @@ tSCC zUltrix_StatSelect0[] =
...
@@ -4612,13 +4612,13 @@ tSCC zUltrix_StatSelect0[] =
"@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
"@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
#define ULTRIX_STAT_TEST_CT 1
#define ULTRIX_STAT_TEST_CT 1
tTestDesc aUltrix_StatTests[] = {
static
tTestDesc aUltrix_StatTests[] = {
{ TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Stat
* Fix Command Arguments for Ultrix_Stat
*/
*/
const char* apzUltrix_StatPatch[] = { "sed",
static
const char* apzUltrix_StatPatch[] = { "sed",
"-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
"-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
\\\n\
\\\n\
/* macro to test for symbolic link */\\\n\
/* macro to test for symbolic link */\\\n\
...
@@ -4653,13 +4653,13 @@ tSCC zUltrix_StaticSelect0[] =
...
@@ -4653,13 +4653,13 @@ tSCC zUltrix_StaticSelect0[] =
"#include \"r[34]_cpu";
"#include \"r[34]_cpu";
#define ULTRIX_STATIC_TEST_CT 1
#define ULTRIX_STATIC_TEST_CT 1
tTestDesc aUltrix_StaticTests[] = {
static
tTestDesc aUltrix_StaticTests[] = {
{ TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Static
* Fix Command Arguments for Ultrix_Static
*/
*/
const char* apzUltrix_StaticPatch[] = { "sed",
static
const char* apzUltrix_StaticPatch[] = { "sed",
"-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
"-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
"-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
"-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
"-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
"-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
...
@@ -4690,13 +4690,13 @@ tSCC zUltrix_StringsSelect0[] =
...
@@ -4690,13 +4690,13 @@ tSCC zUltrix_StringsSelect0[] =
"@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
"@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
#define ULTRIX_STRINGS_TEST_CT 1
#define ULTRIX_STRINGS_TEST_CT 1
tTestDesc aUltrix_StringsTests[] = {
static
tTestDesc aUltrix_StringsTests[] = {
{ TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Ultrix_Strings
* Fix Command Arguments for Ultrix_Strings
*/
*/
const char* apzUltrix_StringsPatch[] = {
static
const char* apzUltrix_StringsPatch[] = {
"wrap",
"wrap",
(char*)NULL };
(char*)NULL };
...
@@ -4730,14 +4730,14 @@ tSCC zUndefine_NullBypass0[] =
...
@@ -4730,14 +4730,14 @@ tSCC zUndefine_NullBypass0[] =
"#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
"#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
#define UNDEFINE_NULL_TEST_CT 2
#define UNDEFINE_NULL_TEST_CT 2
tTestDesc aUndefine_NullTests[] = {
static
tTestDesc aUndefine_NullTests[] = {
{ TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
{ TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
{ TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Undefine_Null
* Fix Command Arguments for Undefine_Null
*/
*/
const char* apzUndefine_NullPatch[] = {
static
const char* apzUndefine_NullPatch[] = {
"format",
"format",
"#ifndef NULL%2\n\
"#ifndef NULL%2\n\
#define NULL%1%2\n\
#define NULL%1%2\n\
...
@@ -4784,14 +4784,14 @@ tSCC zUw7_Byteorder_FixTest0[] =
...
@@ -4784,14 +4784,14 @@ tSCC zUw7_Byteorder_FixTest0[] =
"-f $DESTDIR/sys/byteorder.h";
"-f $DESTDIR/sys/byteorder.h";
#define UW7_BYTEORDER_FIX_TEST_CT 2
#define UW7_BYTEORDER_FIX_TEST_CT 2
tTestDesc aUw7_Byteorder_FixTests[] = {
static
tTestDesc aUw7_Byteorder_FixTests[] = {
{ TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
{ TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
{ TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Uw7_Byteorder_Fix
* Fix Command Arguments for Uw7_Byteorder_Fix
*/
*/
const char* apzUw7_Byteorder_FixPatch[] = {
static
const char* apzUw7_Byteorder_FixPatch[] = {
"format",
"format",
"",
"",
"^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
"^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
...
@@ -4822,13 +4822,13 @@ tSCC zVa_I960_MacroSelect0[] =
...
@@ -4822,13 +4822,13 @@ tSCC zVa_I960_MacroSelect0[] =
"__(vsiz|vali|vpad|alignof__)";
"__(vsiz|vali|vpad|alignof__)";
#define VA_I960_MACRO_TEST_CT 1
#define VA_I960_MACRO_TEST_CT 1
tTestDesc aVa_I960_MacroTests[] = {
static
tTestDesc aVa_I960_MacroTests[] = {
{ TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Va_I960_Macro
* Fix Command Arguments for Va_I960_Macro
*/
*/
const char* apzVa_I960_MacroPatch[] = {
static
const char* apzVa_I960_MacroPatch[] = {
"format",
"format",
"__vx%1",
"__vx%1",
(char*)NULL };
(char*)NULL };
...
@@ -4858,13 +4858,13 @@ tSCC zVoid_NullSelect0[] =
...
@@ -4858,13 +4858,13 @@ tSCC zVoid_NullSelect0[] =
"^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
"^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
#define VOID_NULL_TEST_CT 1
#define VOID_NULL_TEST_CT 1
tTestDesc aVoid_NullTests[] = {
static
tTestDesc aVoid_NullTests[] = {
{ TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Void_Null
* Fix Command Arguments for Void_Null
*/
*/
const char* apzVoid_NullPatch[] = {
static
const char* apzVoid_NullPatch[] = {
"format",
"format",
"#define NULL 0",
"#define NULL 0",
(char*)NULL };
(char*)NULL };
...
@@ -4894,13 +4894,13 @@ tSCC zVxworks_Gcc_ProblemSelect0[] =
...
@@ -4894,13 +4894,13 @@ tSCC zVxworks_Gcc_ProblemSelect0[] =
"__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
"__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
#define VXWORKS_GCC_PROBLEM_TEST_CT 1
#define VXWORKS_GCC_PROBLEM_TEST_CT 1
tTestDesc aVxworks_Gcc_ProblemTests[] = {
static
tTestDesc aVxworks_Gcc_ProblemTests[] = {
{ TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Vxworks_Gcc_Problem
* Fix Command Arguments for Vxworks_Gcc_Problem
*/
*/
const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
static
const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
"-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
"-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
"-e", "/[ \t]size_t/i\\\n\
"-e", "/[ \t]size_t/i\\\n\
#ifndef _GCC_SIZE_T\\\n\
#ifndef _GCC_SIZE_T\\\n\
...
@@ -4944,13 +4944,13 @@ tSCC zVxworks_Needs_VxtypesSelect0[] =
...
@@ -4944,13 +4944,13 @@ tSCC zVxworks_Needs_VxtypesSelect0[] =
"uint_t([ \t]+_clocks_per_sec)";
"uint_t([ \t]+_clocks_per_sec)";
#define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
#define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
tTestDesc aVxworks_Needs_VxtypesTests[] = {
static
tTestDesc aVxworks_Needs_VxtypesTests[] = {
{ TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Vxworks_Needs_Vxtypes
* Fix Command Arguments for Vxworks_Needs_Vxtypes
*/
*/
const char* apzVxworks_Needs_VxtypesPatch[] = {
static
const char* apzVxworks_Needs_VxtypesPatch[] = {
"format",
"format",
"unsigned int%1",
"unsigned int%1",
(char*)NULL };
(char*)NULL };
...
@@ -4990,7 +4990,7 @@ tSCC zVxworks_Needs_VxworksTest2[] =
...
@@ -4990,7 +4990,7 @@ tSCC zVxworks_Needs_VxworksTest2[] =
" -n \"`egrep ULONG $file`\"";
" -n \"`egrep ULONG $file`\"";
#define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
#define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
tTestDesc aVxworks_Needs_VxworksTests[] = {
static
tTestDesc aVxworks_Needs_VxworksTests[] = {
{ TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
{ TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
{ TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
{ TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
{ TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
{ TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
...
@@ -4999,7 +4999,7 @@ tTestDesc aVxworks_Needs_VxworksTests[] = {
...
@@ -4999,7 +4999,7 @@ tTestDesc aVxworks_Needs_VxworksTests[] = {
/*
/*
* Fix Command Arguments for Vxworks_Needs_Vxworks
* Fix Command Arguments for Vxworks_Needs_Vxworks
*/
*/
const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
static
const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
"-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
"-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
#include <types/vxTypesOld.h>\n",
#include <types/vxTypesOld.h>\n",
(char*)NULL };
(char*)NULL };
...
@@ -5035,14 +5035,14 @@ tSCC zVxworks_TimeTest0[] =
...
@@ -5035,14 +5035,14 @@ tSCC zVxworks_TimeTest0[] =
" -r vxWorks.h";
" -r vxWorks.h";
#define VXWORKS_TIME_TEST_CT 2
#define VXWORKS_TIME_TEST_CT 2
tTestDesc aVxworks_TimeTests[] = {
static
tTestDesc aVxworks_TimeTests[] = {
{ TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
{ TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
{ TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for Vxworks_Time
* Fix Command Arguments for Vxworks_Time
*/
*/
const char* apzVxworks_TimePatch[] = {
static
const char* apzVxworks_TimePatch[] = {
"format",
"format",
"#ifndef __gcc_VOIDFUNCPTR_defined\n\
"#ifndef __gcc_VOIDFUNCPTR_defined\n\
#ifdef __cplusplus\n\
#ifdef __cplusplus\n\
...
@@ -5086,14 +5086,14 @@ tSCC zX11_ClassBypass0[] =
...
@@ -5086,14 +5086,14 @@ tSCC zX11_ClassBypass0[] =
"__cplusplus";
"__cplusplus";
#define X11_CLASS_TEST_CT 2
#define X11_CLASS_TEST_CT 2
tTestDesc aX11_ClassTests[] = {
static
tTestDesc aX11_ClassTests[] = {
{ TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
{ TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
{ TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for X11_Class
* Fix Command Arguments for X11_Class
*/
*/
const char* apzX11_ClassPatch[] = {
static
const char* apzX11_ClassPatch[] = {
"format",
"format",
"#ifdef __cplusplus\n\
"#ifdef __cplusplus\n\
%1c_class;%2\n\
%1c_class;%2\n\
...
@@ -5133,14 +5133,14 @@ tSCC zX11_Class_UsageBypass0[] =
...
@@ -5133,14 +5133,14 @@ tSCC zX11_Class_UsageBypass0[] =
"__cplusplus";
"__cplusplus";
#define X11_CLASS_USAGE_TEST_CT 2
#define X11_CLASS_USAGE_TEST_CT 2
tTestDesc aX11_Class_UsageTests[] = {
static
tTestDesc aX11_Class_UsageTests[] = {
{ TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
{ TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
{ TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for X11_Class_Usage
* Fix Command Arguments for X11_Class_Usage
*/
*/
const char* apzX11_Class_UsagePatch[] = {
static
const char* apzX11_Class_UsagePatch[] = {
"format",
"format",
" c_class)",
" c_class)",
(char*)NULL };
(char*)NULL };
...
@@ -5170,13 +5170,13 @@ tSCC zX11_NewBypass0[] =
...
@@ -5170,13 +5170,13 @@ tSCC zX11_NewBypass0[] =
"__cplusplus";
"__cplusplus";
#define X11_NEW_TEST_CT 1
#define X11_NEW_TEST_CT 1
tTestDesc aX11_NewTests[] = {
static
tTestDesc aX11_NewTests[] = {
{ TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
{ TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for X11_New
* Fix Command Arguments for X11_New
*/
*/
const char* apzX11_NewPatch[] = { "sed",
static
const char* apzX11_NewPatch[] = { "sed",
"-e", "/Widget\told, new;/i\\\n\
"-e", "/Widget\told, new;/i\\\n\
#ifdef __cplusplus\\\n\
#ifdef __cplusplus\\\n\
\tWidget\told, c_new;\\\n\
\tWidget\told, c_new;\\\n\
...
@@ -5211,13 +5211,13 @@ tSCC zX11_SprintfSelect0[] =
...
@@ -5211,13 +5211,13 @@ tSCC zX11_SprintfSelect0[] =
"^extern char \\*\tsprintf\\(\\);$";
"^extern char \\*\tsprintf\\(\\);$";
#define X11_SPRINTF_TEST_CT 1
#define X11_SPRINTF_TEST_CT 1
tTestDesc aX11_SprintfTests[] = {
static
tTestDesc aX11_SprintfTests[] = {
{ TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
{ TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
/*
/*
* Fix Command Arguments for X11_Sprintf
* Fix Command Arguments for X11_Sprintf
*/
*/
const char* apzX11_SprintfPatch[] = {
static
const char* apzX11_SprintfPatch[] = {
"format",
"format",
"#ifndef __STDC__\n\
"#ifndef __STDC__\n\
%0\n\
%0\n\
...
...
gcc/fixinc/fixlib.h
View file @
3af556f7
...
@@ -79,6 +79,7 @@ typedef int t_success;
...
@@ -79,6 +79,7 @@ typedef int t_success;
#define NULLPROCESS ((pid_t)0)
#define NULLPROCESS ((pid_t)0)
#define EXIT_PANIC 99
#define EXIT_PANIC 99
#endif
/* NOPROCESS */
#ifndef HAVE_T_BOOL_ENUM
#ifndef HAVE_T_BOOL_ENUM
#define HAVE_T_BOOL_ENUM
#define HAVE_T_BOOL_ENUM
...
@@ -93,9 +94,6 @@ typedef int apply_fix_p_t; /* Apply Fix Predicate Type */
...
@@ -93,9 +94,6 @@ typedef int apply_fix_p_t; /* Apply Fix Predicate Type */
#define APPLY_FIX 0
#define APPLY_FIX 0
#define SKIP_FIX 1
#define SKIP_FIX 1
#define _P_(p) ()
#endif
#define ENV_TABLE \
#define ENV_TABLE \
_ENV_( pz_machine, BOOL_TRUE, "TARGET_MACHINE", \
_ENV_( pz_machine, BOOL_TRUE, "TARGET_MACHINE", \
"output from config.guess" ) \
"output from config.guess" ) \
...
@@ -194,25 +192,31 @@ extern int gnu_type_map_ct;
...
@@ -194,25 +192,31 @@ extern int gnu_type_map_ct;
/*
/*
* Exported procedures
* Exported procedures
*/
*/
char
*
load_file_data
_P_
((
FILE
*
fp
));
char
*
load_file_data
PARAMS
((
FILE
*
fp
));
#ifdef IS_CXX_HEADER_NEEDED
#ifdef IS_CXX_HEADER_NEEDED
t_bool
is_cxx_header
_P_
((
tCC
*
filename
,
tCC
*
filetext
));
t_bool
is_cxx_header
PARAMS
((
tCC
*
filename
,
tCC
*
filetext
));
#endif
/* IS_CXX_HEADER_NEEDED */
#endif
/* IS_CXX_HEADER_NEEDED */
#ifdef SKIP_QUOTE_NEEDED
#ifdef SKIP_QUOTE_NEEDED
tCC
*
skip_quote
_P_
((
char
q
,
char
*
text
));
tCC
*
skip_quote
PARAMS
((
char
q
,
char
*
text
));
#endif
#endif
void
compile_re
_P_
((
tCC
*
pat
,
regex_t
*
re
,
int
match
,
tCC
*
e1
,
tCC
*
e2
));
void
apply_fix
_P_
((
tFixDesc
*
p_fixd
,
tCC
*
filname
));
void
compile_re
PARAMS
((
tCC
*
pat
,
regex_t
*
re
,
int
match
,
apply_fix_p_t
run_test
_P_
((
tCC
*
t_name
,
tCC
*
f_name
,
tCC
*
text
));
tCC
*
e1
,
tCC
*
e2
));
void
apply_fix
PARAMS
((
tFixDesc
*
p_fixd
,
tCC
*
filname
));
apply_fix_p_t
run_test
PARAMS
((
tCC
*
t_name
,
tCC
*
f_name
,
tCC
*
text
));
#ifdef __MSDOS__
#ifdef __MSDOS__
char
*
make_raw_shell_str
_P_
((
char
*
pz_d
,
tCC
*
pz_s
,
size_t
smax
));
char
*
make_raw_shell_str
PARAMS
((
char
*
pz_d
,
tCC
*
pz_s
,
size_t
smax
));
#endif
#endif
#ifdef MN_NAME_PAT
#ifdef MN_NAME_PAT
void
mn_get_regexps
_P_
((
regex_t
**
label_re
,
regex_t
**
name_re
,
void
mn_get_regexps
tCC
*
who
));
PARAMS
((
regex_t
**
label_re
,
regex_t
**
name_re
,
tCC
*
who
));
#endif
#endif
#endif
/* FIXINCLUDES_FIXLIB_H */
#endif
/* FIXINCLUDES_FIXLIB_H */
gcc/fixinc/fixtests.c
View file @
3af556f7
...
@@ -47,18 +47,20 @@ Boston, MA 02111-1307, USA. */
...
@@ -47,18 +47,20 @@ Boston, MA 02111-1307, USA. */
#include "fixlib.h"
#include "fixlib.h"
typedef
apply_fix_p_t
t_test_proc
PARAMS
((
tCC
*
file
,
tCC
*
text
));
typedef
struct
{
typedef
struct
{
tCC
*
test_name
;
tCC
*
test_name
;
apply_fix_p_t
(
*
test_proc
)()
;
t_test_proc
*
test_proc
;
}
test_entry_t
;
}
test_entry_t
;
#define FIX_TEST_TABLE \
#define FIX_TEST_TABLE \
_FT_( "machine_name", machine_name_test )
_FT_( "machine_name", machine_name_test )
#define TEST_FOR_FIX_PROC_HEAD( test ) \
#define TEST_FOR_FIX_PROC_HEAD( test )
\
t_test_proc test;
/* avoid warning */
\
static apply_fix_p_t test ( fname, text ) \
static apply_fix_p_t test ( fname, text )
\
tCC* fname; \
tCC* fname;
\
tCC* text;
tCC* text;
...
...
gcc/fixinc/server.h
View file @
3af556f7
...
@@ -77,6 +77,7 @@ typedef char *t_pchar;
...
@@ -77,6 +77,7 @@ typedef char *t_pchar;
#define NULLPROCESS ((pid_t)0)
#define NULLPROCESS ((pid_t)0)
#define EXIT_PANIC 99
#define EXIT_PANIC 99
#endif
/* NOPROCESS */
#ifndef HAVE_T_BOOL_ENUM
#ifndef HAVE_T_BOOL_ENUM
#define HAVE_T_BOOL_ENUM
#define HAVE_T_BOOL_ENUM
...
@@ -86,14 +87,10 @@ typedef enum
...
@@ -86,14 +87,10 @@ typedef enum
}
t_bool
;
}
t_bool
;
#endif
#endif
#define _P_(p) ()
char
*
run_shell
PARAMS
((
const
char
*
pzCmd
));
#endif
pid_t
proc2_fopen
PARAMS
((
t_pf_pair
*
p_pair
,
t_pchar
*
pp_args
));
pid_t
proc2_open
PARAMS
((
t_fd_pair
*
p_pair
,
t_pchar
*
pp_args
));
char
*
run_shell
_P_
((
const
char
*
pzCmd
));
int
chain_open
PARAMS
((
int
in_fd
,
t_pchar
*
pp_args
,
pid_t
proc2_fopen
_P_
((
t_pf_pair
*
p_pair
,
t_pchar
*
pp_args
));
pid_t
*
p_child
));
pid_t
proc2_open
_P_
((
t_fd_pair
*
p_pair
,
t_pchar
*
pp_args
));
void
close_server
PARAMS
((
void
));
int
chain_open
_P_
((
int
in_fd
,
t_pchar
*
pp_args
,
pid_t
*
p_child
));
void
close_server
_P_
((
void
));
#endif
/* FIXINC_SERVER_H */
#endif
/* FIXINC_SERVER_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment