Include frame.h before fontset.h.

(list_fonts_func): Fix prototype.
This commit is contained in:
Kenichi Handa 1998-10-21 11:50:56 +00:00
parent 9625ce22ee
commit 3541bb8faa

View file

@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */
#include "lisp.h"
#include "charset.h"
#include "ccl.h"
#include "fontset.h"
#include "frame.h"
#include "fontset.h"
Lisp_Object Vglobal_fontset_alist;
Lisp_Object Vfont_encoding_alist;
@ -64,8 +64,10 @@ struct font_info *(*get_font_info_func) P_ ((FRAME_PTR f, int font_idx));
/* 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. */