diff options
author | Jack Miller <millerjo@us.ibm.com> | 2014-08-08 17:23:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:26 -0400 |
commit | 2f137d66fb65ef41df6e558f23d481f07394a424 (patch) | |
tree | 9ea29413d046cec119a44fd7c9d8ff00e65bcff3 /include/linux/shm.h | |
parent | 83293c0f5a6130bf7d60b7b406f4a4de0cadd3d8 (diff) |
shm: remove unneeded extern for function
A small cleanup while changing adjacent code. Extern is not needed for
functions and only one declaration had it so remove it from the odd line.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Jack Miller <millerjo@us.ibm.com>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/shm.h')
-rw-r--r-- | include/linux/shm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/shm.h b/include/linux/shm.h index fd206387048a..6fb801686ad6 100644 --- a/include/linux/shm.h +++ b/include/linux/shm.h | |||
@@ -52,7 +52,7 @@ struct sysv_shm { | |||
52 | 52 | ||
53 | long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, | 53 | long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, |
54 | unsigned long shmlba); | 54 | unsigned long shmlba); |
55 | extern int is_file_shm_hugepages(struct file *file); | 55 | int is_file_shm_hugepages(struct file *file); |
56 | void exit_shm(struct task_struct *task); | 56 | void exit_shm(struct task_struct *task); |
57 | #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist) | 57 | #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist) |
58 | #else | 58 | #else |