From: <wog...@us...> - 2011-02-05 22:30:33
|
Revision: 4106 http://navit.svn.sourceforge.net/navit/?rev=4106&view=rev Author: woglinde Date: 2011-02-05 22:30:27 +0000 (Sat, 05 Feb 2011) Log Message: ----------- Fix:osd/core: add prototype skeleton for oti_new and make it static Modified Paths: -------------- trunk/navit/navit/osd/core/osd_core.c Modified: trunk/navit/navit/osd/core/osd_core.c =================================================================== --- trunk/navit/navit/osd/core/osd_core.c 2011-02-05 22:29:58 UTC (rev 4105) +++ trunk/navit/navit/osd/core/osd_core.c 2011-02-05 22:30:27 UTC (rev 4106) @@ -70,7 +70,9 @@ static void osd_odometer_reset(struct odometer *this); static void osd_cmd_odometer_reset(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid); static void osd_odometer_draw(struct odometer *this, struct navit *nav, struct vehicle *v); +static struct osd_text_item * oti_new(struct osd_text_item * parent); + struct compass { struct osd_item osd_item; int width; @@ -2227,7 +2229,7 @@ * @param parent Pointer to the preceding osd_text_item structure in the list. If NULL, the new osd_text_item becomes the root element of a new list. * @returns A pointer to the new osd_text_item element. */ -struct osd_text_item * +static struct osd_text_item * oti_new(struct osd_text_item * parent) { struct osd_text_item *this; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |