From fa8459a34e076cacde3b7c259af9b5dd84b60802 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Fri, 30 Sep 2005 22:38:16 +0000 Subject: * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. * unexelf.c (fatal): Fix prototype. * term.c (fatal): Implement using varargs. * regex.c (re_char): Move typedef ... * regex.h (re_char): ... here. (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. * emacs.c (malloc_set_state): Fix return type. (endif): Fix type. * lisp.h (fatal): Add argument types. * dispextern.h (fatal): Delete prototype. * systime.h: (make_time): Prototype moved from ... * editfns.c (make_time): ... here. * editfns.c: Move systime.h include after lisp.h. * dired.c: * xsmfns.c: * process.c: Likewise. * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): Add parameter types. (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. (emacs_blocked_free): Change definition to match __free_hook. (emacs_blocked_malloc): Change definition to match __malloc_hook. (emacs_blocked_realloc): Change definition to match __realloc_hook. --- src/regex.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/regex.c') diff --git a/src/regex.c b/src/regex.c index fd18864110..c765f4bd16 100644 --- a/src/regex.c +++ b/src/regex.c @@ -524,9 +524,6 @@ init_syntax_once () #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b)) -/* Type of source-pattern and string chars. */ -typedef const unsigned char re_char; - typedef char boolean; #define false 0 #define true 1 -- cgit v1.2.3