[Freeciv-Dev] Re: Extern declarations should be in .h file in client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
> Right now the gui-gtk and gui-xaw client declare the variables they import as
> extern inside the C file. It would be much nicer if these were declared in
> the respective .h files and then .h files then included.
Attached a fix for the GTK client. Also made some variables static and
removed obsolete variables. As I saw, there is a lot more stuff, which
could be static.
It compiles fine under Suse Linux 6.4, but as Linux is not my master OS I
cannot guarrantee :-)
But it is that easy...
Ciao
____ _ _ ____ _ _ _ _ ____
| | | | | | \ / | | | the cool Gremlin from Bischofswerda
| __ | ____| | \/ | | | WWW: http://home.pages.de/~stoecker/
| | | | | | | | PGP key available on www page.
|____| _|_ |____| _|_ _|_ |____| I hope AMIGA never ends to make fun!
ExternFixGTK.diff.gz
Description: Binary data
- [Freeciv-Dev] Extern declarations should be in .h file in client (PR#676), Thue, 2001/01/28
- [Freeciv-Dev] Re: Extern declarations should be in .h file in client (PR#676),
Dirk Stoecker <=
- [Freeciv-Dev] Re: Extern declarations should be in .h file in client (PR#676), Thue, 2001/01/29
- [Freeciv-Dev] Re: Extern declarations should be in .h file in client (PR#676), Dirk Stoecker, 2001/01/30
- [Freeciv-Dev] The questions of a volunteer, Ronald van der Fange, 2001/01/30
- [Freeciv-Dev] Re: The questions of a volunteer, Dirk Stoecker, 2001/01/30
- [Freeciv-Dev] Re: The questions of a volunteer, Reinier Post, 2001/01/30
- Message not available
- [Freeciv-Dev] log.h (was: The questions of a volunteer), Jeff Mallatt, 2001/01/31
|
|