string.h, regset.h: Fix to match produced versions.

* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
	Fix to match produced versions.
	* fixinc/inclhack.def (longlong_t): New disabled test, ported
	from fixinc.svr4.

From-SVN: r70839
This commit is contained in:
Nathanael Nerode 2003-08-27 02:19:07 +00:00
parent 522df48884
commit 88f505f680
4 changed files with 23 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
Fix to match produced versions.
* fixinc/inclhack.def (longlong_t): New disabled test, ported
from fixinc.svr4.
* fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
from fixinc.ptx.
* fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,

View File

@ -1652,6 +1652,21 @@ fix = {
};
/*
* Apparently some SVR4 systems typedef longlong_t to long ?
*/
#ifdef SVR4
fix = {
hackname = longlong_t;
select = "typedef[ \t]+(unsigned[ \t]+)?long[ \t]+(u_)?longlong_t";
c_fix = format;
c_fix_arg = "typedef %1long long %2longlong_t";
test_text = "typedef long longlong_t\n"
"typedef unsigned long u_longlong_t";
};
#endif
/*
* Delete the '#define void int' line from curses.h on Lynx
*/

View File

@ -8,6 +8,6 @@
original, manufacturer supplied header file. */
#ifndef _STRING_INCLUDED
#define _STRING_INCLUDED
#include <strings.h>
#endif /* _STRING_INCLUDED */
#define _STRING_INCLUDED
#include <strings.h>
#endif /* _STRING_INCLUDED */

View File

@ -11,7 +11,7 @@
#if defined( SCO_REGSET_CHECK )
union u_fps {
struct rsfpstate
struct rsfpstate
{
int whatever;
}