Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] patch: (1/4) cleanup (game_)find_unit_by_id (PR#340)
Home

[Freeciv-Dev] patch: (1/4) cleanup (game_)find_unit_by_id (PR#340)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] patch: (1/4) cleanup (game_)find_unit_by_id (PR#340)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sat, 22 Apr 2000 22:35:00 -0700 (PDT)

The first in a set of 4 patches.

This one a small code cleanup:

The functions find_unit_by_id() (in unit.c) and game_find_unit_by_id()
(in game.c) are essentially identical.  This simple patch removes the 
latter and renames instances to the former.  I prefer the former name 
for brevity and because most existing call instances use the former.

-- David

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


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: (1/4) cleanup (game_)find_unit_by_id (PR#340), David Pfitzner <=