diff options
author | Max Horn | 2009-03-22 13:50:37 +0000 |
---|---|---|
committer | Max Horn | 2009-03-22 13:50:37 +0000 |
commit | 734e9dd377b5766f3155f44b5b43160100225106 (patch) | |
tree | d077a28e71505776cb21451c3b6d44bd671ba73c | |
parent | 871c8d83491f931adbe1b626ef078dbb554dba43 (diff) | |
download | scummvm-rg350-734e9dd377b5766f3155f44b5b43160100225106.tar.gz scummvm-rg350-734e9dd377b5766f3155f44b5b43160100225106.tar.bz2 scummvm-rg350-734e9dd377b5766f3155f44b5b43160100225106.zip |
SCI: Fix warnings
svn-id: r39606
-rw-r--r-- | engines/sci/engine/seg_manager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index 79b772059d..3dec401b19 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -1626,7 +1626,7 @@ void SegInterfaceLocals::freeAtAddress(reg_t sub_addr) { // STUB } -void SegInterfaceLocals::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceLocals::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, NoteCallback note) { LocalVariables *locals = &(_mobj->data.locals); int i; @@ -1651,7 +1651,7 @@ reg_t SegInterfaceStack::findCanonicAddress(reg_t addr) { return addr; } -void SegInterfaceStack::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceStack::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, NoteCallback note) { int i; fprintf(stderr, "Emitting %d stack entries\n", _mobj->data.stack.nr); for (i = 0; i < _mobj->data.stack.nr; i++) @@ -1689,11 +1689,11 @@ void SegInterfaceLists::freeAtAddress(reg_t sub_addr) { Sci::free_List_entry(&(_mobj->data.lists), sub_addr.offset); } -void SegInterfaceLists::listAllDeallocatable(void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceLists::listAllDeallocatable(void *param, NoteCallback note) { LIST_ALL_DEALLOCATABLE(List, lists); } -void SegInterfaceLists::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceLists::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, NoteCallback note) { ListTable *table = &(_mobj->data.lists); List *list = &(table->table[addr.offset].entry); @@ -1723,11 +1723,11 @@ void SegInterfaceNodes::freeAtAddress(reg_t sub_addr) { Sci::free_Node_entry(&(_mobj->data.nodes), sub_addr.offset); } -void SegInterfaceNodes::listAllDeallocatable(void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceNodes::listAllDeallocatable(void *param, NoteCallback note) { LIST_ALL_DEALLOCATABLE(Node, nodes); } -void SegInterfaceNodes::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceNodes::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, NoteCallback note) { NodeTable *table = &(_mobj->data.nodes); Node *node = &(table->table[addr.offset].entry); @@ -1759,7 +1759,7 @@ void SegInterfaceHunk::freeAtAddress(reg_t sub_addr) { // STUB } -void SegInterfaceHunk::listAllDeallocatable(void *param, void (*note)(void*param, reg_t addr)) { +void SegInterfaceHunk::listAllDeallocatable(void *param, NoteCallback note) { LIST_ALL_DEALLOCATABLE(Hunk, hunks); } |