diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-01-17 18:50:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-01-17 18:50:58 +0000 |
commit | 057c1b38df93f42f79429a0b340e4435426c85b7 (patch) | |
tree | 0f58a6fc15b00a2858c75d52bd20ef32e110504a /sys/arch | |
parent | 83d9870d974c7555387aed6902b78724e3df2dc1 (diff) |
Add an __attribute__((__format__(__kprintf__))) to disasm_interface_t.di_printf
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm/arm/disassem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/disassem.h b/sys/arch/arm/arm/disassem.h index 1352864fd50..c065353006a 100644 --- a/sys/arch/arm/arm/disassem.h +++ b/sys/arch/arm/arm/disassem.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disassem.h,v 1.1 2004/02/01 05:09:48 drahn Exp $ */ +/* $OpenBSD: disassem.h,v 1.2 2012/01/17 18:50:57 miod Exp $ */ /* $NetBSD: disassem.h,v 1.4 2001/03/04 04:15:58 matt Exp $ */ /* @@ -40,7 +40,8 @@ typedef struct { db_expr_t (*di_readword)(db_expr_t); void (*di_printaddr)(db_expr_t); - int (*di_printf)(const char *, ...); + int (*di_printf)(const char *, ...) + __attribute__((__format__(__kprintf__,1,2))); } disasm_interface_t; /* Prototypes for callable functions */ |