# HG changeset patch # User Ken Raeburn # Date 1027088821 0 # Node ID f0ddb5c7cf46b408c95c27de9d5b2fbad870cbc2 # Parent cb191430748813cede7b405e556e219741bf648b (decode_coding, encode_coding, detect_coding, detect_eol): Declarations updated. diff -r cb1914307488 -r f0ddb5c7cf46 src/coding.h --- a/src/coding.h Fri Jul 19 14:26:57 2002 +0000 +++ b/src/coding.h Fri Jul 19 14:27:01 2002 +0000 @@ -611,9 +611,9 @@ #endif /* !WINDOWSNT */ /* Extern declarations. */ -extern int decode_coding P_ ((struct coding_system *, unsigned char *, +extern int decode_coding P_ ((struct coding_system *, const unsigned char *, unsigned char *, int, int)); -extern int encode_coding P_ ((struct coding_system *, unsigned char *, +extern int encode_coding P_ ((struct coding_system *, const unsigned char *, unsigned char *, int, int)); extern void coding_save_composition P_ ((struct coding_system *, int, int, Lisp_Object)); @@ -631,8 +631,10 @@ 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 void detect_coding P_ ((struct coding_system *, const unsigned char *, + int)); +extern void detect_eol P_ ((struct coding_system *, const unsigned char *, + int)); extern int setup_coding_system P_ ((Lisp_Object, struct coding_system *)); extern Lisp_Object code_convert_string P_ ((Lisp_Object, struct coding_system *, int, int));