Remove unnecessary externs (#2705)

This commit is contained in:
LagoLunatic
2025-09-27 15:30:54 -07:00
committed by GitHub
parent 3f37bad921
commit 54d8839d91
51 changed files with 9 additions and 671 deletions
+2 -1
View File
@@ -158,6 +158,7 @@ f_op/f_op_actor_tag.cpp:
f_op/f_op_actor_mng.cpp:
.text start:0x800198A4 end:0x8001E0D4
.text start:0x8001E0D4 end:0x8001E11C
.text start:0x8001E11C end:0x8001E140
.ctors start:0x803737E8 end:0x803737EC
.rodata start:0x80378880 end:0x80378A50
.data start:0x803A35F0 end:0x803A3860
@@ -166,7 +167,7 @@ f_op/f_op_actor_mng.cpp:
.sdata2 start:0x80451C00 end:0x80451C68
f_op/f_op_camera.cpp:
.text start:0x8001E11C end:0x8001E308
.text start:0x8001E140 end:0x8001E308
.data start:0x803A3860 end:0x803A3878
f_op/f_op_camera_mng.cpp:
@@ -12,7 +12,9 @@ public:
JSURandomInputStream() {}
virtual ~JSURandomInputStream() {}
/* vt[3] */ virtual s32 getAvailable() const; /* override */
/* vt[3] */ virtual s32 getAvailable() const /* override */ {
return getLength() - getPosition();
}
/* vt[4] */ virtual s32 skip(s32); /* override */
/* vt[5] */ virtual u32 readData(void*, s32) = 0;
/* vt[6] */ virtual s32 getLength() const = 0;
-5
View File
@@ -46,9 +46,4 @@ public:
STATIC_ASSERT(0x14 == sizeof(cM3dGSph));
// additional symbols needed for cM3dGSph
extern "C" {
void Set__8cM3dGSphFRC4cXyzf(void);
}
#endif
-12
View File
@@ -8,18 +8,6 @@
#include "JSystem/J3DU/J3DUClipper.h"
#include "math.h"
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* 80273778-8027378C 26E0B8 0014+00 0/0 1/1 0/0 .text init__11J3DUClipperFv */
void J3DUClipper::init() {
mNear = 1.0f;
-8
View File
@@ -7,14 +7,6 @@
#include "JSystem/JAudio2/JAISoundHandles.h"
//
// Forward References:
//
//
// Declarations:
//
/* 802A2C98-802A2CF4 29D5D8 005C+00 0/0 1/1 0/0 .text
* getHandleSoundID__15JAISoundHandlesF10JAISoundID */
JAISoundHandle* JAISoundHandles::getHandleSoundID(JAISoundID param_0) {
-14
View File
@@ -7,20 +7,6 @@
#include "JSystem/JAudio2/JAISoundInfo.h"
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 802A2D34-802A2D50 29D674 001C+00 0/0 1/1 0/0 .text __ct__12JAISoundInfoFb */
JAISoundInfo::JAISoundInfo(bool param_0) : JASGlobalInstance<JAISoundInfo>(param_0) {
}
-33
View File
@@ -11,10 +11,6 @@
#include "JSystem/JAudio2/JASDriverIF.h"
#include "dolphin/types.h"
//
// Types:
//
struct JASDSPChannel {
/* 8029D340 */ void drop();
/* 8029D948 */ static JASDSPChannel* getHandle(u32);
@@ -23,35 +19,6 @@ struct JASDSPChannel {
u32 mStatus;
};
//
// Forward References:
//
extern "C" void __ct__15JASAudioReseterFv();
extern "C" void __dt__15JASAudioReseterFv();
extern "C" void start__15JASAudioReseterFUlb();
extern "C" void resume__15JASAudioReseterFv();
extern "C" void checkDone__15JASAudioReseterCFv();
extern "C" void calc__15JASAudioReseterFv();
extern "C" void callback__15JASAudioReseterFPv();
//
// External References:
//
extern "C" void stop__14JASAudioThreadFv();
extern "C" void drop__13JASDSPChannelFv();
extern "C" void getHandle__13JASDSPChannelFUl();
extern "C" void setDSPLevel__9JASDriverFf();
extern "C" void getDSPLevel__9JASDriverFv();
extern "C" void registerDspSyncCallback__9JASDriverFPFPv_lPv();
extern "C" void __dl__FPv();
extern "C" extern JASAudioThread* data_80450B8C;
//
// Declarations:
//
/* 8029D0B4-8029D0FC 2979F4 0048+00 0/0 1/1 0/0 .text __ct__15JASAudioReseterFv */
JASAudioReseter::JASAudioReseter() {
field_0x0 = 0;
-16
View File
@@ -8,22 +8,6 @@
#include "JSystem/JAudio2/JASCallback.h"
#include "JSystem/JAudio2/JASCriticalSection.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* 8028FFA8-80290030 28A8E8 0088+00 0/0 2/2 0/0 .text regist__14JASCallbackMgrFPFPv_lPv
*/
bool JASCallbackMgr::regist(JASCallback* function, void* argument)
-4
View File
@@ -10,10 +10,6 @@
#include "JSystem/JAudio2/JASDSPInterface.h"
#include <dolphin/os.h>
//
// Declarations:
//
/* 8029E130-8029E150 298A70 0020+00 0/0 3/3 0/0 .text setDSPLevel__9JASDriverFf */
void JASDriver::setDSPLevel(f32 param_0) {
JASDsp::setDSPMixerLevel(param_0);
-16
View File
@@ -9,22 +9,6 @@
#include "JSystem/JAudio2/JASCalc.h"
#include "JSystem/JKernel/JKRHeap.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 802982EC-80298314 292C2C 0028+00 0/0 2/2 0/0 .text __ct__10JASDrumSetFv */
-12
View File
@@ -10,18 +10,6 @@
#include "JSystem/JKernel/JKRSolidHeap.h"
#include "dolphin/types.h"
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 80451208-80451210 000708 0004+04 2/1 0/0 0/0 .sbss sThread__6JASDvd */
JASTaskThread* JASDvd::sThread;
-16
View File
@@ -8,22 +8,6 @@
#include "JSystem/JAudio2/JASLfo.h"
#include "SSystem/SComponent/c_math.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 8029BD14-8029BD44 296654 0030+00 1/1 1/1 0/0 .text __ct__6JASLfoFv */
-18
View File
@@ -7,24 +7,6 @@
#include "JSystem/JAudio2/JASOscillator.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 8029BE94-8029BEC4 2967D4 0030+00 0/0 1/1 0/0 .text __ct__13JASOscillatorFv */
JASOscillator::JASOscillator() {
mData = NULL;
-15
View File
@@ -8,21 +8,6 @@
#include "JSystem/JAudio2/JASProbe.h"
#include "dolphin/os.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* 80290D74-80290DC4 28B6B4 0050+00 1/1 0/0 0/0 .text start__8JASProbeFPCc */
void JASProbe::start(char const* name) {
volatile BOOL interrupts = OSDisableInterrupts();
-16
View File
@@ -7,22 +7,6 @@
#include "JSystem/JAudio2/JASRegisterParam.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* 80293644-80293664 28DF84 0020+00 0/0 1/1 0/0 .text __ct__16JASRegisterParamFv */
JASRegisterParam::JASRegisterParam() {
for (int i = 0; i < 14; i++) {
-4
View File
@@ -8,10 +8,6 @@
#include "JSystem/JAudio2/JASVoiceBank.h"
#include "JSystem/JAudio2/JASBasicInst.h"
//
// Declarations:
//
/* ############################################################################################## */
/* 8039B1B8-8039B1D0 027818 0018+00 1/1 0/0 0/0 .rodata sOscData__12JASVoiceBank */
const JASOscillator::Data JASVoiceBank::sOscData = {
@@ -8,14 +8,6 @@
#include "JSystem/JAudio2/JAUAudioArcInterpreter.h"
#include "JSystem/JUtility/JUTAssert.h"
//
// Forward References:
//
//
// Declarations:
//
/* 802A4244-802A4260 29EB84 001C+00 0/0 1/1 0/0 .text __ct__22JAUAudioArcInterpreterFv */
JAUAudioArcInterpreter::JAUAudioArcInterpreter() {
mBase = NULL;
@@ -9,10 +9,6 @@
#include "JSystem/JAudio2/JAISeMgr.h"
#include "JSystem/JAudio2/JAUSectionHeap.h"
//
// Declarations:
//
/* 802A4740-802A478C 29F080 004C+00 0/0 1/1 0/0 .text __ct__17JAUAudioArcLoaderFP10JAUSection */
JAUAudioArcLoader::JAUAudioArcLoader(JAUSection* section) {
//JUT_ASSERT(13, section->isOpen());
-16
View File
@@ -8,22 +8,6 @@
#include "JSystem/JAudio2/JAUSeqCollection.h"
#include "JSystem/JUtility/JUTAssert.h"
//
// Types:
//
//
// Forward References:
//
//
// External References:
//
//
// Declarations:
//
/* 802A66A0-802A66AC 2A0FE0 000C+00 1/1 0/0 0/0 .text __ct__16JAUSeqCollectionFv */
JAUSeqCollection::JAUSeqCollection() {
field_0x8 = NULL;
-31
View File
@@ -18,37 +18,6 @@ private:
const T* p_;
};
//
// Forward References:
//
extern "C" void __dt__Q27JGadget13TNodeLinkListFv();
extern "C" void erase__Q27JGadget13TNodeLinkListFQ37JGadget13TNodeLinkList8iterator();
extern "C" void
erase__Q27JGadget13TNodeLinkListFQ37JGadget13TNodeLinkList8iteratorQ37JGadget13TNodeLinkList8iterator();
extern "C" void
splice__Q27JGadget13TNodeLinkListFQ37JGadget13TNodeLinkList8iteratorRQ27JGadget13TNodeLinkListQ37JGadget13TNodeLinkList8iterator();
extern "C" void
Insert__Q27JGadget13TNodeLinkListFQ37JGadget13TNodeLinkList8iteratorPQ27JGadget13TLinkListNode();
extern "C" void Erase__Q27JGadget13TNodeLinkListFPQ27JGadget13TLinkListNode();
extern "C" void Remove__Q27JGadget13TNodeLinkListFPQ27JGadget13TLinkListNode();
//
// External References:
//
extern "C" void __dl__FPv();
extern "C" void _savegpr_27();
extern "C" void _savegpr_28();
extern "C" void _savegpr_29();
extern "C" void _restgpr_27();
extern "C" void _restgpr_28();
extern "C" void _restgpr_29();
//
// Declarations:
//
/* 802DCA1C-802DCA58 2D735C 003C+00 1/1 6/6 0/0 .text __dt__Q27JGadget13TNodeLinkListFv
*/
JGadget::TNodeLinkList::~TNodeLinkList() {}

Some files were not shown because too many files have changed in this diff Show More