emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master ab36b56 1/2: ; * src/font.h (font_is_ignored): Add prototype


From: Robert Pluim
Subject: Re: master ab36b56 1/2: ; * src/font.h (font_is_ignored): Add prototype to avoid warnings.
Date: Thu, 14 Nov 2019 13:26:13 +0100

>>>>> On Thu, 14 Nov 2019 06:51:59 -0500 (EST), address@hidden (Eli Zaretskii) 
>>>>> said:

    Eli> branch: master
    Eli> commit ab36b56e40c6af3b3deb8ad768e410d4838615f9
    Eli> Author: Eli Zaretskii <address@hidden>
    Eli> Commit: Eli Zaretskii <address@hidden>

    Eli>     ; * src/font.h (font_is_ignored): Add prototype to avoid warnings.
    Eli> ---
 
    Eli>  extern bool font_match_p (Lisp_Object spec, Lisp_Object font);
    Eli> +extern bool font_is_ignored (const char *name, ptrdiff_t namelen);
    Eli>  extern Lisp_Object font_list_entities (struct frame *, Lisp_Object);
 
    Eli>  extern Lisp_Object font_get_name (Lisp_Object font_object);

Hmm, with which compiler? The definition of that function is just
before its first use, so the prototype should not be necessary (and
now we have two prototypes for that function, the other is in
gtkutil.h).

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]