All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: lkml <linux-kernel@vger.kernel.org>
Subject: [patch] expfs.c compile fix for crufty old compilers
Date: Mon, 22 Apr 2002 17:57:20 -0700	[thread overview]
Message-ID: <3CC4B170.542524E3@zip.com.au> (raw)

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,

-

                 reply	other threads:[~2002-04-23  0:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CC4B170.542524E3@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.