2011-07-10 Andreas Schwab <schwab@linux-m68k.org>
+ * alloc.c (reset_malloc_hooks): Protoize.
* buffer.c (mmap_init, mmap_find, mmap_free_1, mmap_enlarge)
- (mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Protoize.
+ (mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Likewise.
+ * cm.c (losecursor): Likewise.
* data.c (fmod): Likewise.
* dispnew.c (swap_glyphs_in_rows): Likewise.
* emacs.c (memory_warning_signal): Likewise.
(inc_interval_count, count_intervals, root_interval)
(adjust_intervals_for_insertion, make_new_interval): Likewise.
* lread.c (defalias): Likewise.
+ * ralloc.c (r_alloc_check): Likewise.
* regex.c (set_image_of_range_1, set_image_of_range)
(regex_grow_registers): Likewise.
* sysdep.c (strerror): Likewise.
calls malloc because it is the first call, and we have an endless loop. */
void
-reset_malloc_hooks ()
+reset_malloc_hooks (void)
{
__free_hook = old_free_hook;
__malloc_hook = old_malloc_hook;