changeset 23517:73f09e7bc96e

Include frame.h before fontset.h. (list_fonts_func): Fix prototype.
author Kenichi Handa <handa@m17n.org>
date Wed, 21 Oct 1998 11:50:56 +0000
parents 51228e40e623
children 6303fc8c3e7c
files src/fontset.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Wed Oct 21 11:50:56 1998 +0000
+++ b/src/fontset.c	Wed Oct 21 11:50:56 1998 +0000
@@ -26,8 +26,8 @@
 #include "lisp.h"
 #include "charset.h"
 #include "ccl.h"
+#include "frame.h"
 #include "fontset.h"
-#include "frame.h"
 
 Lisp_Object Vglobal_fontset_alist;
 Lisp_Object Vfont_encoding_alist;
@@ -64,8 +64,10 @@
 
 /* Return a list of font names which matches PATTERN.  See the document of
    `x-list-fonts' for more detail.  */
-Lisp_Object (*list_fonts_func) P_ ((Lisp_Object pattern, Lisp_Object face,
-				    Lisp_Object frame, Lisp_Object width));
+Lisp_Object (*list_fonts_func) P_ ((struct frame *f,
+				    Lisp_Object pattern,
+				    int size,
+				    int maxnames));
 
 /* Load a font named NAME for frame F and return a pointer to the
    information of the loaded font.  If loading is failed, return 0.  */