aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMax Horn2010-03-08 20:12:17 +0000
committerMax Horn2010-03-08 20:12:17 +0000
commit5e8743d0d61ddd22f1475bf6448747c1959e6340 (patch)
tree1d05a7649736c8dbc3c7c8e487a2128c5e3a74f7 /engines/sci
parentc554c8541e6b30fc4cf9bf858184cac8a5c8df1b (diff)
downloadscummvm-rg350-5e8743d0d61ddd22f1475bf6448747c1959e6340.tar.gz
scummvm-rg350-5e8743d0d61ddd22f1475bf6448747c1959e6340.tar.bz2
scummvm-rg350-5e8743d0d61ddd22f1475bf6448747c1959e6340.zip
SCI: Made some stuff static
svn-id: r48199
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/klists.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp
index f36e776d08..f9bccb06e3 100644
--- a/engines/sci/engine/klists.cpp
+++ b/engines/sci/engine/klists.cpp
@@ -155,7 +155,7 @@ reg_t kDisposeList(EngineState *s, int argc, reg_t *argv) {
return s->r_acc;
}
-reg_t _k_new_node(EngineState *s, reg_t value, reg_t key) {
+static reg_t _k_new_node(EngineState *s, reg_t value, reg_t key) {
reg_t nodebase;
Node *n = s->_segMan->allocateNode(&nodebase);
@@ -221,7 +221,7 @@ reg_t kEmptyList(EngineState *s, int argc, reg_t *argv) {
return make_reg(0, ((l) ? l->first.isNull() : 0));
}
-void _k_add_to_front(EngineState *s, reg_t listbase, reg_t nodebase) {
+static void _k_add_to_front(EngineState *s, reg_t listbase, reg_t nodebase) {
List *l = s->_segMan->lookupList(listbase);
Node *new_n = s->_segMan->lookupNode(nodebase);
@@ -244,7 +244,7 @@ void _k_add_to_front(EngineState *s, reg_t listbase, reg_t nodebase) {
l->first = nodebase;
}
-void _k_add_to_end(EngineState *s, reg_t listbase, reg_t nodebase) {
+static void _k_add_to_end(EngineState *s, reg_t listbase, reg_t nodebase) {
List *l = s->_segMan->lookupList(listbase);
Node *new_n = s->_segMan->lookupNode(nodebase);