diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-05 04:22:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-05 04:22:59 -0400 |
commit | 7d3aa71239f588215b5a7c359f05155b192d8081 (patch) | |
tree | 15128a65d133a4a4259d17ca3c507bce75ab26c5 /net/tipc/core.h | |
parent | c89039850bdf8047472b4ee6132048dacef2cf5a (diff) |
[TIPC]: Cosmetic cleanup of print buffer code
This patch contains changes to make TIPC's print buffer code
conform more closely to Linux kernel coding guidelines.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index 7042ef377262..bc633552e9ff 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * net/tipc/core.h: Include file for TIPC global declarations | 2 | * net/tipc/core.h: Include file for TIPC global declarations |
3 | * | 3 | * |
4 | * Copyright (c) 2005-2006, Ericsson AB | 4 | * Copyright (c) 2005-2006, Ericsson AB |
5 | * Copyright (c) 2005-2006, Wind River Systems | 5 | * Copyright (c) 2005-2007, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -65,7 +65,9 @@ | |||
65 | #define assert(i) BUG_ON(!(i)) | 65 | #define assert(i) BUG_ON(!(i)) |
66 | 66 | ||
67 | struct tipc_msg; | 67 | struct tipc_msg; |
68 | extern struct print_buf *TIPC_NULL, *TIPC_CONS, *TIPC_LOG; | 68 | extern struct print_buf *const TIPC_NULL; |
69 | extern struct print_buf *const TIPC_CONS; | ||
70 | extern struct print_buf *const TIPC_LOG; | ||
69 | void tipc_msg_print(struct print_buf*,struct tipc_msg *,const char*); | 71 | void tipc_msg_print(struct print_buf*,struct tipc_msg *,const char*); |
70 | void tipc_printf(struct print_buf *, const char *fmt, ...); | 72 | void tipc_printf(struct print_buf *, const char *fmt, ...); |
71 | void tipc_dump(struct print_buf*,const char *fmt, ...); | 73 | void tipc_dump(struct print_buf*,const char *fmt, ...); |