aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2010-02-26 20:48:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-26 17:21:27 -0800
commit8a3292cd0d95be2f9319770049a308754eb02ab4 (patch)
tree8f8803b58817e84705f6683e0f20641daa52a80a
parent54a12c01efdae9d6363b5467599ae446698d160c (diff)
downloaduemacs-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.c4
-rw-r--r--ibmpc.c4
-rw-r--r--vmsvt.c11
-rw-r--r--vt52.c6
4 files changed, 0 insertions, 25 deletions
diff --git a/ansi.c b/ansi.c
index 9b1072c..cba553b 100644
--- a/ansi.c
+++ b/ansi.c
@@ -251,8 +251,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
-#else
-static void ansihello(void)
-{
-}
#endif
diff --git a/ibmpc.c b/ibmpc.c
index f184abc..dc8ff1e 100644
--- a/ibmpc.c
+++ b/ibmpc.c
@@ -501,8 +501,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
-#else
-static void ibmhello(void)
-{
-}
#endif
diff --git a/vmsvt.c b/vmsvt.c
index 9eaaf11..c3d248f 100644
--- a/vmsvt.c
+++ b/vmsvt.c
@@ -511,15 +511,4 @@ spal()
{
}
-#else
-
-/***
- * hellovms - Avoid error because of empty module
- *
- * Nothing returned
- ***/
-static void hellovms(void)
-{
-}
-
#endif
diff --git a/vt52.c b/vt52.c
index 190526e..222b292 100644
--- a/vt52.c
+++ b/vt52.c
@@ -176,10 +176,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
-#else
-
-static void vt52hello(void)
-{
-}
-
#endif