diff options
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/udfdecl.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index 79aae3fe7b55..f34e6fc0cdaa 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h | |||
@@ -18,15 +18,13 @@ | |||
18 | #define UDF_PREALLOCATE | 18 | #define UDF_PREALLOCATE |
19 | #define UDF_DEFAULT_PREALLOC_BLOCKS 8 | 19 | #define UDF_DEFAULT_PREALLOC_BLOCKS 8 |
20 | 20 | ||
21 | __attribute__((format(printf, 3, 4))) | 21 | extern __printf(3, 4) void _udf_err(struct super_block *sb, |
22 | extern void _udf_err(struct super_block *sb, const char *function, | 22 | const char *function, const char *fmt, ...); |
23 | const char *fmt, ...); | ||
24 | #define udf_err(sb, fmt, ...) \ | 23 | #define udf_err(sb, fmt, ...) \ |
25 | _udf_err(sb, __func__, fmt, ##__VA_ARGS__) | 24 | _udf_err(sb, __func__, fmt, ##__VA_ARGS__) |
26 | 25 | ||
27 | __attribute__((format(printf, 3, 4))) | 26 | extern __printf(3, 4) void _udf_warn(struct super_block *sb, |
28 | extern void _udf_warn(struct super_block *sb, const char *function, | 27 | const char *function, const char *fmt, ...); |
29 | const char *fmt, ...); | ||
30 | #define udf_warn(sb, fmt, ...) \ | 28 | #define udf_warn(sb, fmt, ...) \ |
31 | _udf_warn(sb, __func__, fmt, ##__VA_ARGS__) | 29 | _udf_warn(sb, __func__, fmt, ##__VA_ARGS__) |
32 | 30 | ||