Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] [Patch] Sync parameter names
Home

[Freeciv-Dev] [Patch] Sync parameter names

[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] [Patch] Sync parameter names
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Feb 2002 09:05:18 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

The attached patch brings the parameter names of the declaration and
the definition in sync. The most significant corrections are:
 -void move_unit_map_canvas(struct unit *punit, int x0, int y0, int x1, int y1);
 +void move_unit_map_canvas(struct unit *punit, int x0, int y0, int dx, int dy);
and
 -void con_log_init(char *log_message, int log_level);
 +void con_log_init(char *log_filename, int log_level);

common/packets.c isn't cleaned up since I'm not sure what the best
parameter-name is. Some functions use "p", some use "packet" and some
a context depending name like "pinfo". Comments?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "USENET is *not* the non-clickable part of WWW!"

Attachment: parameternames_sync1.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Patch] Sync parameter names, Raimar Falke <=