Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119536
b: refs/heads/master
c: 0380155
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Dec 2, 2008
1 parent 4a8db40 commit ddfb5d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ced69090c573f1db253fb6b84ec537f4f3d7e2f4
refs/heads/master: 03801553630c4bec6682108800c9b2de64bdbd37
8 changes: 2 additions & 6 deletions trunk/fs/ntfs/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

extern int debug_msgs;

#if 0 /* Fool kernel-doc since it doesn't do macros yet */
extern void __ntfs_debug(const char *file, int line, const char *function,
const char *format, ...) __attribute__ ((format (printf, 4, 5)));
/**
* ntfs_debug - write a debug level message to syslog
* @f: a printf format string containing the message
Expand All @@ -39,11 +40,6 @@ extern int debug_msgs;
* ntfs_debug() writes a DEBUG level message to the syslog but only if the
* driver was compiled with -DDEBUG. Otherwise, the call turns into a NOP.
*/
static void ntfs_debug(const char *f, ...);
#endif

extern void __ntfs_debug (const char *file, int line, const char *function,
const char *format, ...) __attribute__ ((format (printf, 4, 5)));
#define ntfs_debug(f, a...) \
__ntfs_debug(__FILE__, __LINE__, __func__, f, ##a)

Expand Down

0 comments on commit ddfb5d4

Please sign in to comment.