diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-17 17:39:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-17 17:39:30 +0000 |
commit | def34b7884bc62ecd193d855bac9b727a55fa7cf (patch) | |
tree | cd3662ae1e51be21477b0a9245b07833f1ca9f83 /sys/kern/vfs_bio.c | |
parent | 6ffb1dff9ed1fab68cadd12b789f804b4fdd77fa (diff) |
Comment out recently added __attribute__((__format__(__kprintf__))) annotations
in MI code; gcc 2.95 does not accept such annotation for function pointer
declarations, only function prototypes.
To be uncommented once gcc 2.95 bites the dust.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 8b9f88ffbff..ee43ef83b65 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_bio.c,v 1.145 2013/02/09 20:56:35 miod Exp $ */ +/* $OpenBSD: vfs_bio.c,v 1.146 2013/02/17 17:39:29 miod Exp $ */ /* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */ /* @@ -1239,13 +1239,13 @@ biodone(struct buf *bp) } #ifdef DDB -void bcstats_print(int (*)(const char *, ...) __attribute__((__format__(__kprintf__,1,2)))); +void bcstats_print(int (*)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */); /* * bcstats_print: ddb hook to print interesting buffer cache counters */ void bcstats_print( - int (*pr)(const char *, ...) __attribute__((__format__(__kprintf__,1,2)))) + int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */) { (*pr)("Current Buffer Cache status:\n"); (*pr)("numbufs %lld busymapped %lld, delwri %lld\n", |