]> Chaos Git - corbenik/ctrulib.git/commitdiff
sdmc_dev.c: do not redefine __system_argc/argv
authorfincs <fincs.alt1@gmail.com>
Thu, 4 Dec 2014 10:23:40 +0000 (11:23 +0100)
committerfincs <fincs.alt1@gmail.com>
Thu, 4 Dec 2014 10:23:40 +0000 (11:23 +0100)
libctru/source/sdmc_dev.c

index ae99c169598dbfa30a7ba5054c303a162c12add5..4d481176e7ced9d311f5428aa10bcf4ac5af8715 100644 (file)
@@ -123,8 +123,8 @@ static const char *sdmc_fixpath(const char *path)
 
 }
 
-int __system_argc;
-char** __system_argv;
+extern int __system_argc;
+extern char** __system_argv;
 
 /*! Initialize SDMC device */
 Result sdmcInit(void)