From: dean Date: Fri, 1 Mar 2002 05:29:48 +0000 (+0000) Subject: Remove unused code, fix comment. X-Git-Tag: MOVE2GIT~3102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45160f1b466d45f29bb2f62df2141fd54d011563;p=nethack Remove unused code, fix comment. --- diff --git a/sys/mac/macunix.c b/sys/mac/macunix.c index 30536e863..aedcc0ec6 100644 --- a/sys/mac/macunix.c +++ b/sys/mac/macunix.c @@ -6,18 +6,6 @@ #include "hack.h" - -#if 0 -int -uptodate(int fd) -#if defined(applec) || defined(__MWERKS__) -# pragma unused(fd) -#endif - return(1); -} -#endif - - void regularize(char *s) { @@ -29,12 +17,11 @@ regularize(char *s) } } - void getlock(void) { int fd; - int pid = getpid(); /* Process Serial Number ? */ + int pid = getpid(); /* Process ID */ set_levelfile_name (lock, 0);