diff options
Diffstat (limited to 'engines/sci/include')
-rw-r--r-- | engines/sci/include/resource.h | 12 | ||||
-rw-r--r-- | engines/sci/include/sci_memory.h | 10 |
2 files changed, 0 insertions, 22 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h index 63cd846af5..10a29c7aa8 100644 --- a/engines/sci/include/resource.h +++ b/engines/sci/include/resource.h @@ -188,18 +188,6 @@ sci_get_from_queue(sci_queue_t *queue, int *type); /* --- */ -int -memtest(const char *file, int line); -/* Allocates, manipulates, and frees some memory -** Parameters: (const char *) file: The file name to print when starting the -** tests -** (int) line: The line number to claim it was executed on -** Returns : (int) 0 -** This function calls malloc(), free(), and memfrob() or memset() -** to provocate segmentation faults caused by dynamic allocation bugs -** in previous parts of the code. -*/ - void sci_gettime(long *seconds, long *useconds); /* Calculates the current time in seconds and microseconds diff --git a/engines/sci/include/sci_memory.h b/engines/sci/include/sci_memory.h index 21d3599197..10fc8666b5 100644 --- a/engines/sci/include/sci_memory.h +++ b/engines/sci/include/sci_memory.h @@ -147,16 +147,6 @@ extern void * ** See _SCI_MALLOC() for more information if call fails. */ -extern void * - sci_memdup(const void *src, size_t size); -/* Duplicates a chunk of memory -** Parameters: (void *) src: Pointer to the data to duplicate -** (size_t) size: Number of bytes to duplicate -** Returns : (void *) An appropriately allocated duplicate, or NULL on error -** Please try to avoid data duplication unless absolutely neccessary! -** To free this string, use the free() command. -** See _SCI_MALLOC() for more information if call fails. -*/ extern char * sci_strdup(const char *src); |