[AD] alinline.h warning and patch

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


I just updated my cvs version of Allegro and recompiled it. I got warnings in every single file... It was from alinline.h. A very simple fix -- from (*cdecl)() to (*cdecl)(void). I attached a patch but it takes longer to read the patch than it does to type the 4 letters on like 273 of alinline.h ;).

Gillius
Index: include/allegro/alinline.h
===================================================================
RCS file: /cvsroot/alleg/allegro/include/allegro/alinline.h,v
retrieving revision 1.11
diff -r1.11 alinline.h
231c231
< AL_INLINE(void, set_window_close_hook, (void (*proc)()),
---
> AL_INLINE(void, set_window_close_hook, (void (*proc)(void)),


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