All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] expfs.c compile fix for crufty old compilers
@ 2002-04-23  0:57 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2002-04-23  0:57 UTC (permalink / raw)
  To: lkml

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,

-

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-23  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-23  0:57 [patch] expfs.c compile fix for crufty old compilers Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.