From 407b7ecaa6c55603f7695598f71ade0f4dcf9db5 Mon Sep 17 00:00:00 2001 From: Mike Woolley Date: Fri, 27 Nov 2020 17:14:20 +0000 Subject: [PATCH] Fixed build error using Xcode 12. Build error: duplicate symbol '_fannum' ld: 4 duplicate symbols for architecture x86_64 --- smc-command/smc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smc-command/smc.h b/smc-command/smc.h index 34e17aa..b0a11e1 100755 --- a/smc-command/smc.h +++ b/smc-command/smc.h @@ -98,7 +98,7 @@ typedef struct { typedef unsigned char SMCBytes_t[32]; -UInt8 fannum[] = "0123456789ABCDEFGHIJ"; +static UInt8 fannum[] = "0123456789ABCDEFGHIJ"; typedef struct { UInt32 key;