mirror of
https://github.com/rfivet/uemacs.git
synced 2024-06-09 13:30:43 +00:00
uemacs: Kill unused lckhello function
This patch kills an unused 'lckhello' function and gets rid of the following GCC warning: CC lock.o lock.c:160: warning: ‘lckhello’ defined but not used Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bd635515a6
commit
3246438f73
6
lock.c
6
lock.c
|
@ -10,7 +10,6 @@
|
||||||
#include "edef.h"
|
#include "edef.h"
|
||||||
#include "efunc.h"
|
#include "efunc.h"
|
||||||
|
|
||||||
#if FILOCK
|
|
||||||
#if BSD | SVR4
|
#if BSD | SVR4
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
|
|
||||||
|
@ -155,8 +154,3 @@ void lckerror(char *errstr)
|
||||||
mlwrite(obuf);
|
mlwrite(obuf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
static void lckhello(void )
|
|
||||||
{ /* dummy function */
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user