[patch] expfs.c compile fix for crufty old compilers

Andrew Morton (akpm@zip.com.au)
Mon, 22 Apr 2002 17:57:20 -0700


gcc-2.91.66 doesn't like the macro-varargs construct
which expfs.c is using.

Does anyone know which version of gcc gained the
alternative syntax?

--- linux-2.5.9/fs/exportfs/expfs.c Mon Apr 22 16:41:03 2002
+++ 25/fs/exportfs/expfs.c Mon Apr 22 17:51:53 2002
@@ -34,7 +34,7 @@ struct export_operations export_op_defau

#define CALL(ops,fun) ((ops->fun)?(ops->fun):export_op_default.fun)

-#define dprintk(x, ...) do{}while(0)
+#define dprintk(fmt, args...) do{}while(0)

struct dentry *
find_exported_dentry(struct super_block *sb, void *obj, void *parent,

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/