termux-packages/packages/moria/unix-unix.c.patch

25 lines
415 B
Diff

diff --git a/unix/unix.c b/unix/unix.c
index 81d543c..af4a672 100644
--- a/unix/unix.c
+++ b/unix/unix.c
@@ -271,19 +271,6 @@ char *p;
}
#endif
-#ifndef DEBIAN_LINUX
-#ifdef USG
-unsigned short getuid();
-#else
-#ifndef SECURE
-#ifdef BSD4_3
-uid_t getuid();
-#else /* other BSD versions */
-int getuid();
-#endif
-#endif
-#endif
-#endif
/* Find a default user name from the system. */
void user_name(buf)