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:
parent
54a12c01ef
commit
8a3292cd0d
4
ansi.c
4
ansi.c
@ -251,8 +251,4 @@ int f, n; /* default flag, numeric argument [unused] */
|
||||
return (TRUE);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
static void ansihello(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
4
ibmpc.c
4
ibmpc.c
@ -501,8 +501,4 @@ int f, n; /* default flag, numeric argument [unused] */
|
||||
return (TRUE);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
static void ibmhello(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
11
vmsvt.c
11
vmsvt.c
@ -511,15 +511,4 @@ spal()
|
||||
{
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
/***
|
||||
* hellovms - Avoid error because of empty module
|
||||
*
|
||||
* Nothing returned
|
||||
***/
|
||||
static void hellovms(void)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user