changeset 89069:c2201502f37e

(fontset_add): Return Lisp_Object.
author Dave Love <fx@gnu.org>
date Thu, 05 Sep 2002 16:59:54 +0000
parents 6ba025c9a3d1
children 5e361851a772
files src/fontset.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Thu Sep 05 16:59:44 2002 +0000
+++ b/src/fontset.c	Thu Sep 05 16:59:54 2002 +0000
@@ -229,8 +229,8 @@
 
 
 /* Prototype declarations for static functions.  */
-static int fontset_add P_ ((Lisp_Object, Lisp_Object, Lisp_Object,
-			    Lisp_Object));
+static Lisp_Object fontset_add P_ ((Lisp_Object, Lisp_Object, Lisp_Object,
+				    Lisp_Object));
 static Lisp_Object make_fontset P_ ((Lisp_Object, Lisp_Object, Lisp_Object));
 static Lisp_Object fontset_pattern_regexp P_ ((Lisp_Object));
 static void accumulate_script_ranges P_ ((Lisp_Object, Lisp_Object,
@@ -355,7 +355,7 @@
 			    Fmake_vector (make_number (1), (elt)))	\
    : fontset_add ((fontset), (range), (elt), (add)))
 
-static int
+static Lisp_Object
 fontset_add (fontset, range, elt, add)
      Lisp_Object fontset, range, elt, add;
 {
@@ -383,7 +383,7 @@
     char_table_set_range (fontset, from, to1, elt1);    
     from = to1 + 1;
   } while (from < to);
-  return 0;
+  return Qnil;
 }