termux-packages/packages/ircd-irc2/contrib-mkpasswd-mkpasswd.c.patch
2021-12-20 11:36:17 +02:00

13 lines
331 B
Diff

--- a/contrib/mkpasswd/mkpasswd.c
+++ b/contrib/mkpasswd/mkpasswd.c
@@ -27,8 +27,7 @@
#define FLAG_ROUNDS 0x00000040
#define FLAG_EXT 0x00000080
-extern char *getpass(const char * prompt);
-extern char *crypt(const char *key, const char *salt);
+#include <crypt.h>
char *make_des_salt(void);
char *make_ext_salt(int);