[AD] _get_allegro_version (4.3)

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


Should the _get_allegro_version() function even exist in the 4.3 branch?

Attached is a patch the removes it.

--
Matthew Leverton
Index: src/allegro.c
===================================================================
--- src/allegro.c	(revision 8119)
+++ src/allegro.c	(working copy)
@@ -231,22 +231,6 @@
 
 
 
-/* _get_allegro_version:
- *  Retrieves the library version.  This is an obsolete definition which should
- *  only be used by Allegro 4.2.0 binaries, which have a call to this function
- *  embedded.
- */
-int _get_allegro_version(void)
-{
-#if ALLEGRO_VERSION == 4 && ALLEGRO_SUB_VERSION == 2
-   return MAKE_VERSION(ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, 0);
-#else
-#error _get_allegro_version should not exist in other versions of Allegro
-#endif
-}
-
-
-
 /* _add_exit_func:
  *  Adds a function to the list that need to be called by allegro_exit().
  *  `desc' should point to a statically allocated string to help with


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