1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-02-20 23:17:13 -05:00

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>
This commit is contained in:
Pekka Enberg 2010-02-26 20:48:57 +02:00 committed by Linus Torvalds
parent 54a12c01ef
commit 8a3292cd0d
4 changed files with 0 additions and 25 deletions

4
ansi.c
View File

@ -251,8 +251,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
#else
static void ansihello(void)
{
}
#endif

View File

@ -501,8 +501,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
#else
static void ibmhello(void)
{
}
#endif

11
vmsvt.c
View File

@ -511,15 +511,4 @@ spal()
{
}
#else
/***
* hellovms - Avoid error because of empty module
*
* Nothing returned
***/
static void hellovms(void)
{
}
#endif

6
vt52.c
View File

@ -176,10 +176,4 @@ int f, n; /* default flag, numeric argument [unused] */
return (TRUE);
}
#endif
#else
static void vt52hello(void)
{
}
#endif