lkml.org 
[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.10-pre6, NTFS build break
At 07:38 09/09/2001, Aaron Lehmann wrote:
>On Sun, Sep 09, 2001 at 01:29:07AM -0400, John Kacur wrote:
> > Perhaps this can just be turned into
> > static inline ntfs_debug(mask, fmt, ...) do {} while(0)
>
>You mean static inline ntfs_debug(mask,fmt,...) { }

Actually:

static inline ntfs_debug(int mask, const char *fmt, ...) { }

>but it should probably also work as
>
>#define ntfs_debug(mask, fmt...) do {} while(0)

Indeed. This is what I intended to write but gcc-2.96 obviously forgave me
the typo... as it both compiles and works fine here.

Anton


--
"Nothing succeeds like success." - Alexandre Dumas
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.056 / U:1.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site