diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2010-02-26 20:48:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-26 17:21:27 -0800 |
commit | 8a3292cd0d95be2f9319770049a308754eb02ab4 (patch) | |
tree | 8f8803b58817e84705f6683e0f20641daa52a80a | |
parent | 54a12c01efdae9d6363b5467599ae446698d160c (diff) | |
download | uemacs-8a3292cd0d95be2f9319770049a308754eb02ab4.tar.gz |
uemacs: remove unused functions
Commit 8fc7449 ("uemacs: fix sparse warnings, making file-local symbols
static.") made some functions that are not used anywhere static. This patch
removes them to kill the following compilation warnings:
ansi.c:255: warning: ‘ansihello’ defined but not used
ibmpc.c:505: warning: ‘ibmhello’ defined but not used
vmsvt.c:521: warning: ‘hellovms’ defined but not used
vt52.c:181: warning: ‘vt52hello’ defined but not used
Cc: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | ansi.c | 4 | ||||
-rw-r--r-- | ibmpc.c | 4 | ||||
-rw-r--r-- | vmsvt.c | 11 | ||||
-rw-r--r-- | vt52.c | 6 |
4 files changed, 0 insertions, 25 deletions
@@ -251,8 +251,4 @@ int f, n; /* default flag, numeric argument [unused] */ return (TRUE); } #endif -#else -static void ansihello(void) -{ -} #endif @@ -501,8 +501,4 @@ int f, n; /* default flag, numeric argument [unused] */ return (TRUE); } #endif -#else -static void ibmhello(void) -{ -} #endif @@ -511,15 +511,4 @@ spal() { } -#else - -/*** - * hellovms - Avoid error because of empty module - * - * Nothing returned - ***/ -static void hellovms(void) -{ -} - #endif @@ -176,10 +176,4 @@ int f, n; /* default flag, numeric argument [unused] */ return (TRUE); } #endif -#else - -static void vt52hello(void) -{ -} - #endif |