]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Need to define cmn_err in libxfs for all gcc versions, ie. with both of
authorNathan Scott <nathans@sgi.com>
Fri, 7 Mar 2003 01:52:48 +0000 (01:52 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 7 Mar 2003 01:52:48 +0000 (01:52 +0000)
the supported incantations of varargs cpp macros.

libxfs/xfs.h

index 4efeaba9c04187cd36230e949b20466e04ce42ed..aabaa0a5f72694156a29cb4cfe90918623f40b13 100644 (file)
@@ -279,6 +279,7 @@ typedef struct { dev_t dev; } xfs_buftarg_t;
 # define printk(msg,args...)           ( fprintf(stderr, msg, ## args) )
 #else
 # define xfs_fs_cmn_err(a,b,...)       ( fprintf(stderr, __VA_ARGS__) )
+# define cmn_err(a,...)                        ( fprintf(stderr, __VA_ARGS__) )
 # define printk(...)                   ( fprintf(stderr, __VA_ARGS__) )
 #endif