From: nhmall Date: Wed, 6 May 2020 15:35:55 +0000 (-0400) Subject: Xcode fixes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c831522e94e70bf59d7618a8c27412f1dde2dae9;p=nethack Xcode fixes --- diff --git a/include/decl.h b/include/decl.h index 1caf4c5bc..3c7b2cfe3 100644 --- a/include/decl.h +++ b/include/decl.h @@ -323,8 +323,7 @@ E struct tc_gbl_data { /* also declared in tcap.h */ #define CO g.tc_gbl_data.tc_CO #endif -/* xxxexplain[] is in drawing.c */ -E const char *const monexplain[], invisexplain[], *const oclass_names[]; +E const char *const oclass_names[]; /* Some systems want to use full pathnames for some subsets of file names, * rather than assuming that they're all in the current directory. This diff --git a/sys/unix/NetHack.xcodeproj/project.pbxproj b/sys/unix/NetHack.xcodeproj/project.pbxproj index b0f0468ef..f45a4b667 100644 --- a/sys/unix/NetHack.xcodeproj/project.pbxproj +++ b/sys/unix/NetHack.xcodeproj/project.pbxproj @@ -149,6 +149,7 @@ 544768BA23995BB7004B9739 /* liblua.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 544768B923995BB7004B9739 /* liblua.a */; }; 544768BC23A53C9F004B9739 /* nhlobj.c in Sources */ = {isa = PBXBuildFile; fileRef = 544768BB23A53C9F004B9739 /* nhlobj.c */; }; 5462D14823E7B19200969423 /* insight.c in Sources */ = {isa = PBXBuildFile; fileRef = 5462D14723E7B19200969423 /* insight.c */; }; + 54FB2B4B246310A600397C0E /* symbols.c in Sources */ = {isa = PBXBuildFile; fileRef = 54FB2B4A246310A600397C0E /* symbols.c */; }; 54FCE8292223261F00F393C8 /* isaac64.c in Sources */ = {isa = PBXBuildFile; fileRef = 54FCE8282223261F00F393C8 /* isaac64.c */; }; /* End PBXBuildFile section */ @@ -491,6 +492,7 @@ 544768B923995BB7004B9739 /* liblua.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liblua.a; path = ../../lib/lua/liblua.a; sourceTree = ""; }; 544768BB23A53C9F004B9739 /* nhlobj.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = nhlobj.c; path = ../../src/nhlobj.c; sourceTree = ""; }; 5462D14723E7B19200969423 /* insight.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = insight.c; path = ../../src/insight.c; sourceTree = ""; }; + 54FB2B4A246310A600397C0E /* symbols.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = symbols.c; path = ../../src/symbols.c; sourceTree = ""; }; 54FCE8282223261F00F393C8 /* isaac64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = isaac64.c; path = ../../src/isaac64.c; sourceTree = ""; }; /* End PBXFileReference section */ @@ -557,6 +559,7 @@ 3189578C21A1FF8200FB2ABE /* src */ = { isa = PBXGroup; children = ( + 54FB2B4A246310A600397C0E /* symbols.c */, 544768B023994A2C004B9739 /* mdlib.c */, 544768AC23994A17004B9739 /* nhlsel.c */, 544768AD23994A17004B9739 /* nhlua.c */, @@ -1531,6 +1534,7 @@ 31B8A3A821A238060055BD01 /* weapon.c in Sources */, 31B8A3DA21A238060055BD01 /* mkmaze.c in Sources */, 31B8A37E21A238060055BD01 /* steal.c in Sources */, + 54FB2B4B246310A600397C0E /* symbols.c in Sources */, 31B8A3BA21A238060055BD01 /* mkobj.c in Sources */, 31B8A41121A23EEC0055BD01 /* cursstat.c in Sources */, 31B8A3E021A238060055BD01 /* wield.c in Sources */,