diff src/charset.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents 4c0b4a1025cd
children 9b26f9300d41
line wrap: on
line diff
--- a/src/charset.c	Tue Apr 14 10:56:46 1998 +0000
+++ b/src/charset.c	Tue Apr 14 12:25:56 1998 +0000
@@ -173,6 +173,7 @@
    Use macro `STRING_CHAR (STR, LEN)' instead of calling this function
    directly if STR can hold an ASCII character.  */
 
+int
 string_to_non_ascii_char (str, len, actual_len)
      const unsigned char *str;
      int len, *actual_len;
@@ -237,6 +238,7 @@
    return -1.  This should be used only in the macro SPLIT_STRING
    which checks range of STR in advance.  */
 
+int
 split_non_ascii_string (str, len, charset, c1, c2)
      register const unsigned char *str;
      register unsigned char *c1, *c2;
@@ -274,6 +276,7 @@
 /* Return a character unified with C (or a character made of CHARSET,
    C1, and C2) in unification table TABLE.  If no unification is found
    in TABLE, return C.  */
+int
 unify_char (table, c, charset, c1, c2)
      Lisp_Object table;
      int c, charset, c1, c2;
@@ -308,6 +311,7 @@
    convert C to a valid multibyte character, convert it based on
    DEFAULT_NONASCII_INSERT_OFFSET which makes C a Latin-1 character.  */
 
+int
 unibyte_char_to_multibyte (c)
      int c;
 {
@@ -1610,6 +1614,7 @@
 }
 
 
+int
 charset_id_internal (charset_name)
      char *charset_name;
 {
@@ -1635,6 +1640,7 @@
   return Qnil;
 }
 
+void
 init_charset_once ()
 {
   int i, j, k;
@@ -1689,6 +1695,7 @@
 
 #ifdef emacs
 
+void
 syms_of_charset ()
 {
   Qascii = intern ("ascii");