aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/sci_memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/scicore/sci_memory.cpp')
-rw-r--r--engines/sci/scicore/sci_memory.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/sci/scicore/sci_memory.cpp b/engines/sci/scicore/sci_memory.cpp
index e612604687..7e73cf234d 100644
--- a/engines/sci/scicore/sci_memory.cpp
+++ b/engines/sci/scicore/sci_memory.cpp
@@ -134,8 +134,7 @@ extern void *
return data;
}
-extern void *
- sci_refcount_incref(void *data) {
+extern void *sci_refcount_incref(void *data) {
if (!REFCOUNT_CHECK(data)) {
BREAKPOINT();
} else
@@ -147,8 +146,7 @@ extern void *
return data;
}
-extern void
- sci_refcount_decref(void *data) {
+extern void sci_refcount_decref(void *data) {
#ifdef TRACE_REFCOUNT
fprintf(stderr, "[] REF: Dec'ing %p (prev ref=%d) OK=%d\n", data, REFCOUNT(data),
REFCOUNT_CHECK(data));
@@ -171,8 +169,7 @@ extern void
}
}
-extern void *
- sci_refcount_memdup(void *data, size_t len) {
+extern void *sci_refcount_memdup(void *data, size_t len) {
void *dest = sci_refcount_alloc(len);
memcpy(dest, data, len);
return dest;