Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30396
b: refs/heads/master
c: a4e0927
h: refs/heads/master
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Jun 26, 2006
1 parent 1099e64 commit 9ca24b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 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: d356eeba8e34786621d85468e5176052813a3059
refs/heads/master: a4e0927902508a5f7f04be56d3c3e1b174481705
19 changes: 14 additions & 5 deletions trunk/net/tipc/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* net/tipc/core.h: Include file for TIPC global declarations
*
* Copyright (c) 2005-2006, Ericsson AB
* Copyright (c) 2005, Wind River Systems
* Copyright (c) 2005-2006, Wind River Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -111,10 +111,6 @@ void tipc_dump(struct print_buf*,const char *fmt, ...);

#else

#ifndef DBG_OUTPUT
#define DBG_OUTPUT NULL
#endif

/*
* TIPC debug support not included:
* - system messages are printed to system console
Expand All @@ -129,6 +125,19 @@ void tipc_dump(struct print_buf*,const char *fmt, ...);
#define msg_dbg(msg,txt) do {} while (0)
#define dump(fmt,arg...) do {} while (0)


/*
* TIPC_OUTPUT is defined to be the system console, while DBG_OUTPUT is
* the null print buffer. Thes ensures that any system or debug messages
* that are generated without using the above macros are handled correctly.
*/

#undef TIPC_OUTPUT
#define TIPC_OUTPUT TIPC_CONS

#undef DBG_OUTPUT
#define DBG_OUTPUT NULL

#endif


Expand Down

0 comments on commit 9ca24b8

Please sign in to comment.