summaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:08:31 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:08:31 +0000
commit01ce7a1b4676cbabb411defe964313048ee6c8fd (patch)
tree9f17d331eaad83eee979c2f468cf2533e2d5fe61 /gcc/bitmap.c
parent4a8caefa1eca72aa2c1efb448b0ea69ec703fc19 (diff)
downloadgcc-01ce7a1b4676cbabb411defe964313048ee6c8fd.tar.gz
* alias.c (nonlocal_reference_p): Add static prototype.
* bitmap.c (bitmap_element_allocate): Prototype args in function pointer cast. * builtins.c (stabilize_va_list): Add static prototype. (expand_builtin_va_arg): Constify a char*. * c-lex.c (getch, put_back, extend_token_buffer_to, read_line_number, token_getch, token_put_back): Add static prototypes. * c-parse.gperf (hash, is_reserved_word): Likewise. * cccp.c (is_dir_separator): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29782 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 3c29c44c4d9..4e448ac5886 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -118,8 +118,8 @@ bitmap_element_allocate ()
obstack_specify_allocation (&bitmap_obstack, OBSTACK_CHUNK_SIZE,
__alignof__ (bitmap_element),
- (void *(*) ()) OBSTACK_CHUNK_ALLOC,
- (void (*) ()) OBSTACK_CHUNK_FREE);
+ (void *(*) PARAMS ((long))) OBSTACK_CHUNK_ALLOC,
+ (void (*) PARAMS ((void *))) OBSTACK_CHUNK_FREE);
}
element = (bitmap_element *) obstack_alloc (&bitmap_obstack,