summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-10-03 17:23:25 -0400
committerAllen Winter <allen.winter@kdab.com>2022-10-03 17:23:25 -0400
commitb6d5369ab4bfd248250e10624ba83e705c7be4e3 (patch)
treecfe8b384258fee8f2384f8a99f649192cb352811
parent226d38d398d656b85eba677f80fdb28e46262731 (diff)
downloadlibical-git-b6d5369ab4bfd248250e10624ba83e705c7be4e3.tar.gz
src/test/test-malloc.h - remove 'extern'. no needed
-rw-r--r--src/test/test-malloc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/test-malloc.h b/src/test/test-malloc.h
index 3dfccffe..636310ac 100644
--- a/src/test/test-malloc.h
+++ b/src/test/test-malloc.h
@@ -31,29 +31,29 @@ struct testmalloc_statistics {
* The number of allocations that can be made using this function can be limited via
* testmalloc_set_max_successful_allocs().
*/
-extern void *test_malloc(size_t size);
+void *test_malloc(size_t size);
/** Resizes the specified buffer.
* Can only be used with memory that has previously been allocated using test_malloc().
*/
-extern void *test_realloc(void *p, size_t size);
+void *test_realloc(void *p, size_t size);
/** Frees a block of memory that has previously been allocated via the test_malloc() function. Specifying memory that
* has not been allocated via test_malloc() causes an assertion.
*/
-extern void test_free(void *p);
+void test_free(void *p);
/** Resets the memory management statistics and sets the number of successful
* allocations limit to infinite.
*/
-extern void testmalloc_reset();
+void testmalloc_reset();
/** Sets the maximum number of malloc or realloc attempts that will succeed. If
* the number is negative, no limit will be applied.
*/
-extern void testmalloc_set_max_successful_allocs(int n);
+void testmalloc_set_max_successful_allocs(int n);
/** Gets current memory allocation statistics. */
-extern void testmalloc_get_statistics(struct testmalloc_statistics *statistics);
+void testmalloc_get_statistics(struct testmalloc_statistics *statistics);
#endif /* !TESTMALLOC_H */