unrar: make getpass() static

This commit is contained in:
Leonid Pliushch 2017-09-14 20:46:28 +03:00 committed by Fredrik Fornwall
parent c0823dfbf4
commit 599d1a9f06

View File

@ -17,7 +17,7 @@ diff -uNr unrar.mod/consio.cpp unrar.mod2/consio.cpp
#ifndef SILENT
+#ifdef __ANDROID__
+char* getpass(const char *prompt) {
+static char* getpass(const char *prompt) {
+ struct termios term_old, term_new;
+ int nread;
+