]> granicus.if.org Git - nethack/commitdiff
Remove unused code, fix comment.
authordean <dean>
Fri, 1 Mar 2002 05:29:48 +0000 (05:29 +0000)
committerdean <dean>
Fri, 1 Mar 2002 05:29:48 +0000 (05:29 +0000)
sys/mac/macunix.c

index 30536e8631bf0c82bafb5a16446dc9f17de334f9..aedcc0ec6292d7eda498f1f01bef83b8e4b05a97 100644 (file)
@@ -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);