Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Code-Problem
Home

[Freeciv-Dev] Code-Problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Code-Problem
From: Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2000 17:50:47 +0200 (MET DST)

Hi,

In common/connection.h line 94 is following:

  typedef void CLOSE_FUN (struct connection *pc);

Does this mean a function type? If yes, please change it to

  typedef void (*CLOSE_FUN) (struct connection *pc);

which is a lot more ANSI compliant.

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!

************************************************************************
* snail-mail: Dirk Stoecker              * e-mail:                     *
*             Geschwister-Scholl-Str. 10 * stoecker@xxxxxxxxxxxxxx     *
*             01877 Bischofswerda        * phone:                      *
*             GERMANY                    * GERMANY +49 (0)3594/706666  *
************************************************************************




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Code-Problem, Dirk Stoecker <=