aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rculist.h
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-11-11 17:11:23 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-12-12 12:34:16 -0800
commit584dc4ce55267765b415a8517613d1207f1741e5 (patch)
treee00dd5664b14f42ff7bc37e44808ba0919f56bf5 /include/linux/rculist.h
parentrcu/torture: Dynamically allocate SRCU output buffer to avoid overflow (diff)
downloadwireguard-linux-584dc4ce55267765b415a8517613d1207f1741e5.tar.xz
wireguard-linux-584dc4ce55267765b415a8517613d1207f1741e5.zip
rcu: Remove "extern" from function declarations in include/linux/*rcu*.h
Function prototypes don't need to have the "extern" keyword since this is the default behavior. Its explicit use is redundant. This commit therefore removes them. Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rculist.h')
-rw-r--r--include/linux/rculist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rculist.h b/include/linux/rculist.h
index 45a0a9e81478..dbaf99084112 100644
--- a/include/linux/rculist.h
+++ b/include/linux/rculist.h
@@ -55,8 +55,8 @@ static inline void __list_add_rcu(struct list_head *new,
next->prev = new;
}
#else
-extern void __list_add_rcu(struct list_head *new,
- struct list_head *prev, struct list_head *next);
+void __list_add_rcu(struct list_head *new,
+ struct list_head *prev, struct list_head *next);
#endif
/**