summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2014-08-24 13:22:50 +0200
committerLinus Walleij <triad@df.lth.se>2014-08-24 13:23:01 +0200
commitbb695b12fa7a8773fe79e81f880cfb07a38ef60a (patch)
treee060721f9a2f883ae79d422f8ecebb1875059b26
parent08550005f5226076ae3d0b282261495fb5b11548 (diff)
downloadlibmtp-bb695b12fa7a8773fe79e81f880cfb07a38ef60a.tar.gz
Revert "De-externalize use_mtpz."libmtp-1-1-7
This reverts commit 8f5da8fc9050448ca5da4ffeb4796e9e6eca8a35. Signed-off-by: Linus Walleij <triad@df.lth.se>
-rw-r--r--src/mtpz.c2
-rw-r--r--src/mtpz.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mtpz.c b/src/mtpz.c
index 488e97f..2cdc10f 100644
--- a/src/mtpz.c
+++ b/src/mtpz.c
@@ -74,8 +74,6 @@
* Microsoft to officially provide keys to this project.
*/
-int use_mtpz;
-
static unsigned char *MTPZ_ENCRYPTION_KEY;
static unsigned char *MTPZ_PUBLIC_EXPONENT;
static unsigned char *MTPZ_MODULUS;
diff --git a/src/mtpz.h b/src/mtpz.h
index f024394..c7c231b 100644
--- a/src/mtpz.h
+++ b/src/mtpz.h
@@ -45,7 +45,7 @@ static inline int mtpz_loaddata(void)
#endif
-extern int use_mtpz;
+int use_mtpz;
#endif /* LIBMTP_H_INCLUSION_GUARD */