summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-06 22:33:30 +0000
committerMiles Bader <miles@gnu.org>1996-02-06 22:33:30 +0000
commit8ecf874f816ec9f75c7dc130bba8d286a07a8fac (patch)
treed8b014c5901ea005e88015badfd95b57815d10b9 /ext2fs
parentb24afc85952765b046d648b0efd33eba0c2b5a7e (diff)
(ext2_warning): Make a declaration, not a macro.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ext2fs.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index b27e8b06..c47bd2fc 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -446,12 +446,11 @@ error_t dev_read_sync (block_t addr, vm_address_t *data, long len);
#define ext2_error(fmt, args...) _ext2_error (__FUNCTION__, fmt , ##args)
extern void _ext2_error (const char *, const char *, ...)
- __attribute__ ((format (printf, 2, 3)));
+ __attribute__ ((format (printf, 2, 3)));
#define ext2_panic(fmt, args...) _ext2_panic (__FUNCTION__, fmt , ##args)
extern void _ext2_panic (const char *, const char *, ...)
- __attribute__ ((format (printf, 2, 3)));
+ __attribute__ ((format (printf, 2, 3)));
-#define ext2_warning(fmt, args...) _ext2_warning (__FUNCTION__, fmt , ##args)
-extern void _ext2_warning (const char *, const char *, ...)
- __attribute__ ((format (printf, 2, 3)));
+extern void ext2_warning (const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));