summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs/ffs/ffs_extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/makefs/ffs/ffs_extern.h')
-rw-r--r--usr.sbin/makefs/ffs/ffs_extern.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/makefs/ffs/ffs_extern.h b/usr.sbin/makefs/ffs/ffs_extern.h
index d95e69b..1c3442f5 100644
--- a/usr.sbin/makefs/ffs/ffs_extern.h
+++ b/usr.sbin/makefs/ffs/ffs_extern.h
@@ -35,6 +35,8 @@
#include "ffs/buf.h"
+struct inode;
+
/*
* Structure used to pass around logical block paths generated by
* ufs_getlbns and used by truncate and bmap code.
@@ -46,8 +48,7 @@ struct indir {
};
/* ffs.c */
-void panic(const char *, ...)
- __attribute__((__noreturn__,__format__(__printf__,1,2)));
+_Noreturn void panic(const char *, ...) __printflike(1, 2);
/* ffs_alloc.c */
int ffs_alloc(struct inode *, daddr_t, daddr_t, int, daddr_t *);
OpenPOWER on IntegriCloud