# HG changeset patch # User Kenichi Handa # Date 908970656 0 # Node ID 73f09e7bc96e279477e719f326a4ca77ee500d25 # Parent 51228e40e623da59adad89cb72a221d62d2c53b9 Include frame.h before fontset.h. (list_fonts_func): Fix prototype. diff -r 51228e40e623 -r 73f09e7bc96e src/fontset.c --- 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. */