From: fincs Date: Thu, 4 Dec 2014 10:23:40 +0000 (+0100) Subject: sdmc_dev.c: do not redefine __system_argc/argv X-Git-Tag: v0.2.0~7 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=bacd6f09ca8312a78ea05e130b5ccbe10f91f72d;p=corbenik%2Fctrulib.git sdmc_dev.c: do not redefine __system_argc/argv --- diff --git a/libctru/source/sdmc_dev.c b/libctru/source/sdmc_dev.c index ae99c16..4d48117 100644 --- a/libctru/source/sdmc_dev.c +++ b/libctru/source/sdmc_dev.c @@ -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)