aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 8be6371d247..dd27303428f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -555,7 +555,7 @@ static int check_depth;
555 555
556/* Like malloc, but wraps allocated block with header and trailer. */ 556/* Like malloc, but wraps allocated block with header and trailer. */
557 557
558POINTER_TYPE * 558static POINTER_TYPE *
559overrun_check_malloc (size_t size) 559overrun_check_malloc (size_t size)
560{ 560{
561 register unsigned char *val; 561 register unsigned char *val;
@@ -579,7 +579,7 @@ overrun_check_malloc (size_t size)
579/* Like realloc, but checks old block for overrun, and wraps new block 579/* Like realloc, but checks old block for overrun, and wraps new block
580 with header and trailer. */ 580 with header and trailer. */
581 581
582POINTER_TYPE * 582static POINTER_TYPE *
583overrun_check_realloc (POINTER_TYPE *block, size_t size) 583overrun_check_realloc (POINTER_TYPE *block, size_t size)
584{ 584{
585 register unsigned char *val = (unsigned char *) block; 585 register unsigned char *val = (unsigned char *) block;
@@ -617,7 +617,7 @@ overrun_check_realloc (POINTER_TYPE *block, size_t size)
617 617
618/* Like free, but checks block for overrun. */ 618/* Like free, but checks block for overrun. */
619 619
620void 620static void
621overrun_check_free (POINTER_TYPE *block) 621overrun_check_free (POINTER_TYPE *block)
622{ 622{
623 unsigned char *val = (unsigned char *) block; 623 unsigned char *val = (unsigned char *) block;