Browse Source

unrar: make getpass() static

android-5
Leonid Plyushch 7 years ago
committed by Fredrik Fornwall
parent
commit
8da950620a
  1. 2
      packages/unrar/getpass.patch

2
packages/unrar/getpass.patch

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

Loading…
Cancel
Save