2011-04-20 Paul Eggert <eggert@cs.ucla.edu>
+ * alloc.c (overrun_check_malloc, overrun_check_realloc): Now static.
+ (overrun_check_free): Likewise.
+
Make the Lisp reader and string-to-float more consistent.
* data.c (atof): Remove decl; no longer used or needed.
(Fstring_to_number): Use new string_to_float function, to be
/* Like malloc, but wraps allocated block with header and trailer. */
-POINTER_TYPE *
+static POINTER_TYPE *
overrun_check_malloc (size_t size)
{
register unsigned char *val;
/* Like realloc, but checks old block for overrun, and wraps new block
with header and trailer. */
-POINTER_TYPE *
+static POINTER_TYPE *
overrun_check_realloc (POINTER_TYPE *block, size_t size)
{
register unsigned char *val = (unsigned char *) block;
/* Like free, but checks block for overrun. */
-void
+static void
overrun_check_free (POINTER_TYPE *block)
{
unsigned char *val = (unsigned char *) block;