diff options
| author | Dan Nicolaescu | 2005-09-30 22:38:16 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2005-09-30 22:38:16 +0000 |
| commit | fa8459a34e076cacde3b7c259af9b5dd84b60802 (patch) | |
| tree | b3d68a9fe6cdfe631bcecb42b30b087aa566e942 /src/regex.h | |
| parent | b17f937955a92bd8416821ec847d859bc9c3de85 (diff) | |
| download | emacs-fa8459a34e076cacde3b7c259af9b5dd84b60802.tar.gz emacs-fa8459a34e076cacde3b7c259af9b5dd84b60802.zip | |
* 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.
Diffstat (limited to 'src/regex.h')
| -rw-r--r-- | src/regex.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h index 557700dc93d..45a9f6fff0d 100644 --- a/src/regex.h +++ b/src/regex.h | |||
| @@ -603,8 +603,16 @@ typedef enum { RECC_ERROR = 0, | |||
| 603 | RECC_ASCII, RECC_UNIBYTE | 603 | RECC_ASCII, RECC_UNIBYTE |
| 604 | } re_wctype_t; | 604 | } re_wctype_t; |
| 605 | 605 | ||
| 606 | extern char re_iswctype (int ch, re_wctype_t cc); | ||
| 607 | extern re_wctype_t re_wctype (const unsigned char* str); | ||
| 608 | |||
| 606 | typedef int re_wchar_t; | 609 | typedef int re_wchar_t; |
| 607 | 610 | ||
| 611 | /* Type of source-pattern and string chars. */ | ||
| 612 | typedef const unsigned char re_char; | ||
| 613 | |||
| 614 | extern void re_set_whitespace_regexp (re_char *regexp); | ||
| 615 | |||
| 608 | #endif /* not WIDE_CHAR_SUPPORT */ | 616 | #endif /* not WIDE_CHAR_SUPPORT */ |
| 609 | 617 | ||
| 610 | #endif /* regex.h */ | 618 | #endif /* regex.h */ |