diff --git a/include/ChangeLog b/include/ChangeLog index ac58c8275..d55775046 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-07-07 Kaveh R. Ghazi + + * dis-asm.h (fprintf_ftype): Add format attribute. + 2005-07-03 Steve Ellcey PR other/13906 diff --git a/include/dis-asm.h b/include/dis-asm.h index fc1776c15..67473ad37 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -35,7 +35,7 @@ extern "C" { #include #include "bfd.h" -typedef int (*fprintf_ftype) (void *, const char*, ...); +typedef int (*fprintf_ftype) (void *, const char*, ...) ATTRIBUTE_FPTR_PRINTF_2; enum dis_insn_type { dis_noninsn, /* Not a valid instruction */