inclhack.def (alpha___assert): Change char * args to const char * on Tru64 UNIX to avoid excessive warnings...

* fixinc/inclhack.def (alpha___assert): Change char * args to
        const char * on Tru64 UNIX to avoid excessive warnings from
        assert.h.
        * fixinc/fixincl.x: Regenerate.

From-SVN: r42589
This commit is contained in:
Rainer Orth 2001-05-25 21:08:53 +00:00 committed by Richard Henderson
parent 83a05a970b
commit a88072eb43
3 changed files with 181 additions and 120 deletions

View File

@ -1,3 +1,10 @@
2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixinc/inclhack.def (alpha___assert): Change char * args to
const char * on Tru64 UNIX to avoid excessive warnings from
assert.h.
* fixinc/fixincl.x: Regenerate.
2001-05-25 Geoff Keating <geoffk@redhat.com>
* dbxout.c (dbxout_symbol): Invert previous patch, which was

File diff suppressed because it is too large Load Diff

View File

@ -650,6 +650,19 @@ fix = {
};
/*
* Fix __assert declaration in assert.h on Alpha OSF/1.
*/
fix = {
hackname = alpha___assert;
files = "assert.h";
select = '__assert\(char \*, char \*, int\)';
c_fix = format;
c_fix_arg = "__assert(const char *, const char *, int)";
test_text = 'extern void __assert(char *, char *, int);';
};
/*
* Fix getopt declarations in stdio.h and stdlib.h on Alpha OSF/1 and AIX.
*/