Commit 268c2c36 authored by Andreas Schwab's avatar Andreas Schwab

Protoize

* src/alloc.c (reset_malloc_hooks): Protoize.
* src/cm.c (losecursor): Likewise.
* src/ralloc.c (r_alloc_check): Likewise.
parent 1dae0f0a
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.
......@@ -16,6 +18,7 @@
(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.
......
......@@ -1258,7 +1258,7 @@ emacs_blocked_realloc (void *ptr, size_t size, const void *ptr2)
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;
......
......@@ -305,7 +305,8 @@ calccost (struct tty_display_info *tty,
}
#if 0
losecursor ()
void
losecursor (void)
{
curY = -1;
}
......
......@@ -1079,7 +1079,7 @@ r_alloc_reinit (void)
#include <assert.h>
void
r_alloc_check ()
r_alloc_check (void)
{
int found = 0;
heap_ptr h, ph = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment