aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mbcs.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-07-19 04:47:53 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 13:04:43 -0400
commit39ef01e00daf6d860783f1a836f765265a9d3b47 (patch)
treeb118a71490e5f4cf58b6756e7f24e537838c8e37 /drivers/char/mbcs.h
parent4004c69ad68dd03733179277280ea2946990ba36 (diff)
mbcs: Remove lots of global symbols
MBCS has a collection of things that searches say are not used elsewhere and could be static. If this is the case they should be static, if not then someone at SGI should rename things like "soft_list" so they don't pollute the global namespace with generic names... Signed-off-by: Alan Cox <alan@redhat.com> Acked-by: Bruce Losure <blosure@sgi.com> Cc: Jes Sorensen <jes@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mbcs.h')
-rw-r--r--drivers/char/mbcs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/mbcs.h b/drivers/char/mbcs.h
index e7fd47e43257..c9905a3c3353 100644
--- a/drivers/char/mbcs.h
+++ b/drivers/char/mbcs.h
@@ -542,12 +542,12 @@ struct mbcs_soft {
542 struct semaphore algolock; 542 struct semaphore algolock;
543}; 543};
544 544
545extern int mbcs_open(struct inode *ip, struct file *fp); 545static int mbcs_open(struct inode *ip, struct file *fp);
546extern ssize_t mbcs_sram_read(struct file *fp, char __user *buf, size_t len, 546static ssize_t mbcs_sram_read(struct file *fp, char __user *buf, size_t len,
547 loff_t * off); 547 loff_t * off);
548extern ssize_t mbcs_sram_write(struct file *fp, const char __user *buf, size_t len, 548static ssize_t mbcs_sram_write(struct file *fp, const char __user *buf, size_t len,
549 loff_t * off); 549 loff_t * off);
550extern loff_t mbcs_sram_llseek(struct file *filp, loff_t off, int whence); 550static loff_t mbcs_sram_llseek(struct file *filp, loff_t off, int whence);
551extern int mbcs_gscr_mmap(struct file *fp, struct vm_area_struct *vma); 551static int mbcs_gscr_mmap(struct file *fp, struct vm_area_struct *vma);
552 552
553#endif // __MBCS_H__ 553#endif // __MBCS_H__