Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: Warnings fixed
Home

[Freeciv-Dev] Re: Warnings fixed

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Warnings fixed
From: Dirk Stoecker <stoecker@xxxxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 07:37:28 +0100 (MET)

On Wed, 14 Feb 2001, Raimar Falke wrote:

> If gcc is run with extra warning options it founds some "errors"
> (double include, double function declaration, invalid test). The
> attached patch fixes these.

[...]

> -extern struct city *city_workers_display;

Please remove that from client/gui-mui/mapctrl.h also.

Patch is attached.

Ciao
 ____  _ _  ____  _ _    _ _  ____
|    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
|  __   |   ____|  |  \/  |  |    | WWW: http://home.pages.de/~stoecker/
|    |  |  |       |      |  |    | PGP key available on www page.
|____| _|_ |____| _|_    _|_ |____| I hope AMIGA never stops making fun!
diff -ur ../../freeciv-cvs/freeciv/client/gui-mui/mapctrl.h 
./client/gui-mui/mapctrl.h
--- ../../freeciv-cvs/freeciv/client/gui-mui/mapctrl.h  Fri Jan 19 12:18:21 2001
+++ ./client/gui-mui/mapctrl.h  Thu Feb 15 07:34:33 2001
@@ -18,6 +18,4 @@
 #include "mapclass.h"
 int main_map_click( struct Map_Click **click);
 
-extern struct city *city_workers_display;
-
 #endif  /* FC__MAPCTRL_H */

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