]> code.delx.au - gnu-emacs/commitdiff
(decode_coding, encode_coding, detect_coding,
authorKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:27:01 +0000 (14:27 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:27:01 +0000 (14:27 +0000)
detect_eol): Declarations updated.

src/coding.h

index 500f02acf328858caded112c48b70cc7929298d5..677004ce52330be2506d314d4d0502bc2d7e4f8e 100644 (file)
@@ -611,9 +611,9 @@ struct coding_system
 #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 @@ extern Lisp_Object run_pre_post_conversion_on_str P_ ((Lisp_Object,
                                                       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));