diff options
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index fc72add35d..8b6d1fe3a1 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -2273,6 +2273,20 @@ fix = { }; /* + * Fix missing const in hpux vsscanf declaration + */ +fix = { + hackname = hpux_vsscanf; + mach = "*-*-hpux*"; + files = stdio.h; + select = '(extern int vsscanf\()char'; + c_fix = format; + c_fix_arg = "%1const char"; + + test_text = 'extern int vsscanf(char *, const char *, __va_list);'; +}; + +/* * get rid of bogus inline definitions in HP-UX 8.0 */ fix = { |