Re: [AD] load_font patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The attached patch fixes the following warnings in the new font code:

src/readfont.c:26: warning: static declaration of '_register_font_file_type_init'
follows non-static declaration
./include/allegro/internal/aintern.h:1155: warning: previous declaration of '_regi
ster_font_file_type_init' was here

(I removed declaration from readfont.c.)

src/fontgrx.c: In function `load_grx_or_bios_font':
src/fontgrx.c:104: warning: implicit declaration of function `stricmp'

(stricmp() isn't ANSI C. I replaced it with Allegro's ustricmp().)

--
Daniel Schlyder
http://bitblaze.com/

Attachment: new_font_code_warnings.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/