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/ufs/ffs | |
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/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 3541ea36804..01150f826ea 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_softdep.c,v 1.115 2013/02/09 20:56:35 miod Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.116 2013/02/17 17:39:29 miod Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. @@ -5612,7 +5612,7 @@ softdep_error(char *func, int error) void softdep_print(struct buf *bp, int full, - int (*pr)(const char *, ...) __attribute__((__format__(__kprintf__,1,2)))) + int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */) { struct worklist *wk; @@ -5623,7 +5623,7 @@ softdep_print(struct buf *bp, int full, void worklist_print(struct worklist *wk, int full, - int (*pr)(const char *, ...) __attribute__((__format__(__kprintf__,1,2)))) + int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */) { struct pagedep *pagedep; struct inodedep *inodedep; |