From: Andreas Schwab Date: Fri, 21 Nov 1997 14:42:33 +0000 (+0000) Subject: Add more prototypes and function declarations. X-Git-Tag: emacs-20.3~2765 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c04809fb5b8c7b20b2779156b2931616de70b7e3;p=emacs.git Add more prototypes and function declarations. --- diff --git a/src/charset.h b/src/charset.h index 34923a13d98..cf6dd8f36db 100644 --- a/src/charset.h +++ b/src/charset.h @@ -671,6 +671,16 @@ extern int n_cmpchars; /* Maximum character code currently used. */ #define MAX_CHAR (MIN_CHAR_COMPOSITION + n_cmpchars) -extern int unify_char (); +extern int unify_char P_ ((Lisp_Object, int, int, int, int)); +extern int split_non_ascii_string P_ ((unsigned char *, int, int *, + unsigned char *, unsigned char *)); +extern int string_to_non_ascii_char P_ ((unsigned char *, int, int *)); +extern int non_ascii_char_to_string P_ ((int, unsigned char *, unsigned char **)); +extern int multibyte_form_length P_ ((unsigned char *, int)); +extern int str_cmpchar_id P_ ((unsigned char *, int)); +extern int get_charset_id P_ ((Lisp_Object)); +extern int cmpchar_component P_ ((unsigned int, unsigned int)); +extern int find_charset_in_str P_ ((unsigned char *, int, int *, Lisp_Object)); +extern int strwidth P_ ((unsigned char *, int)); #endif /* _CHARSET_H */ diff --git a/src/coding.h b/src/coding.h index baccd92032e..9a7707bf07f 100644 --- a/src/coding.h +++ b/src/coding.h @@ -430,11 +430,18 @@ struct coding_system } while (0) /* Extern declarations. */ -extern int decode_coding (), encode_coding (); -extern int decoding_buffer_size (), encoding_buffer_size (); +extern int decode_coding P_ ((struct coding_system *, unsigned char *, + unsigned char *, int, int, int *)); +extern int encode_coding P_ ((struct coding_system *, unsigned char *, + unsigned char *, int, int, int *)); +extern int decoding_buffer_size P_ ((struct coding_system *, int)); +extern int encoding_buffer_size P_ ((struct coding_system *, int)); +extern void detect_coding P_ ((struct coding_system *, unsigned char *, int)); +extern void detect_eol P_ ((struct coding_system *, unsigned char *, int)); extern int conversion_buffer_size; -extern char *conversion_buffer, *get_conversion_buffer (); -extern Lisp_Object Fcheck_coding_system (); +extern char *conversion_buffer; +extern char *get_conversion_buffer P_ ((int)); +extern int setup_coding_system P_ ((Lisp_Object, struct coding_system *)); extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index; extern Lisp_Object Qemacs_mule; extern Lisp_Object Qbuffer_file_coding_system;