From 3246438f7350ad080355b9031e9ea4b3925a34bf Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 29 Aug 2010 13:03:54 +0300 Subject: [PATCH] uemacs: Kill unused lckhello function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Linus Torvalds --- lock.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lock.c b/lock.c index 490baef..64e81be 100644 --- a/lock.c +++ b/lock.c @@ -10,7 +10,6 @@ #include "edef.h" #include "efunc.h" -#if FILOCK #if BSD | SVR4 #include @@ -155,8 +154,3 @@ void lckerror(char *errstr) mlwrite(obuf); } #endif -#else -static void lckhello(void ) -{ /* dummy function */ -} -#endif