comparison src/coding.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents eeffe4ca2306
children ca4819c36ab9
comparison
equal deleted inserted replaced
21513:984881b316fc 21514:fa9ff387d260
1679 SRC to a place pointed by *DSTP, and update DSTP. 1679 SRC to a place pointed by *DSTP, and update DSTP.
1680 1680
1681 If the current block ends before any end-of-line, we may fail to 1681 If the current block ends before any end-of-line, we may fail to
1682 find all the necessary designations. */ 1682 find all the necessary designations. */
1683 1683
1684 void
1684 encode_designation_at_bol (coding, table, src, src_end, dstp) 1685 encode_designation_at_bol (coding, table, src, src_end, dstp)
1685 struct coding_system *coding; 1686 struct coding_system *coding;
1686 Lisp_Object table; 1687 Lisp_Object table;
1687 unsigned char *src, *src_end, **dstp; 1688 unsigned char *src, *src_end, **dstp;
1688 { 1689 {
2463 2464
2464 /* See the above "GENERAL NOTES on `decode_coding_XXX ()' functions". 2465 /* See the above "GENERAL NOTES on `decode_coding_XXX ()' functions".
2465 This function is called only when `coding->eol_type' is 2466 This function is called only when `coding->eol_type' is
2466 CODING_EOL_CRLF or CODING_EOL_CR. */ 2467 CODING_EOL_CRLF or CODING_EOL_CR. */
2467 2468
2469 int
2468 decode_eol (coding, source, destination, src_bytes, dst_bytes) 2470 decode_eol (coding, source, destination, src_bytes, dst_bytes)
2469 struct coding_system *coding; 2471 struct coding_system *coding;
2470 unsigned char *source, *destination; 2472 unsigned char *source, *destination;
2471 int src_bytes, dst_bytes; 2473 int src_bytes, dst_bytes;
2472 { 2474 {
2593 /* See "GENERAL NOTES about `encode_coding_XXX ()' functions". Encode 2595 /* See "GENERAL NOTES about `encode_coding_XXX ()' functions". Encode
2594 format of end-of-line according to `coding->eol_type'. If 2596 format of end-of-line according to `coding->eol_type'. If
2595 `coding->mode & CODING_MODE_SELECTIVE_DISPLAY' is nonzero, code 2597 `coding->mode & CODING_MODE_SELECTIVE_DISPLAY' is nonzero, code
2596 '\r' in source text also means end-of-line. */ 2598 '\r' in source text also means end-of-line. */
2597 2599
2600 int
2598 encode_eol (coding, source, destination, src_bytes, dst_bytes) 2601 encode_eol (coding, source, destination, src_bytes, dst_bytes)
2599 struct coding_system *coding; 2602 struct coding_system *coding;
2600 unsigned char *source, *destination; 2603 unsigned char *source, *destination;
2601 int src_bytes, dst_bytes; 2604 int src_bytes, dst_bytes;
2602 { 2605 {
4939 #endif /* emacs */ 4942 #endif /* emacs */
4940 4943
4941 4944
4942 /*** 8. Post-amble ***/ 4945 /*** 8. Post-amble ***/
4943 4946
4947 void
4944 init_coding_once () 4948 init_coding_once ()
4945 { 4949 {
4946 int i; 4950 int i;
4947 4951
4948 /* Emacs' internal format specific initialize routine. */ 4952 /* Emacs' internal format specific initialize routine. */
4997 #endif 5001 #endif
4998 } 5002 }
4999 5003
5000 #ifdef emacs 5004 #ifdef emacs
5001 5005
5006 void
5002 syms_of_coding () 5007 syms_of_coding ()
5003 { 5008 {
5004 Qtarget_idx = intern ("target-idx"); 5009 Qtarget_idx = intern ("target-idx");
5005 staticpro (&Qtarget_idx); 5010 staticpro (&Qtarget_idx);
5006 5011