Fix trailing whitespace

This commit is contained in:
Markus Armbruster 2008-09-17 21:09:14 -04:00
parent a9653c475b
commit d702068457
509 changed files with 922 additions and 922 deletions

View file

@ -26,17 +26,17 @@
* ---
*
* bestpath.c: Find the best path between sectors
*
*
* Known contributors to this file:
* Steve McClure, 1998-2000
* Markus Armbruster, 2006
*/
/*
/*
* IMPORTANT: These routines are very selectively used in the server.
*
* "bestownedpath" is only used to determine paths for ships and planes.
*
*
* Callers should not be calling these directly anymore. They should use
* the "BestShipPath", "BestAirPath", "BestLandPath" and "BestDistPath"
* functions. Note that those last two use the A* algorithms to find

View file

@ -26,7 +26,7 @@
* ---
*
* btu.c: Dealing with BTUs
*
*
* Known contributors to this file:
* Markus Armbruster, 2007
*/

View file

@ -26,7 +26,7 @@
* ---
*
* cargo.c: Cargo lists
*
*
* Known contributors to this file:
* Markus Armbruster, 2008
*/

View file

@ -26,9 +26,9 @@
* ---
*
* cnumb.c: Return country number give country name
*
*
* Known contributors to this file:
*
*
*/
#include <config.h>

View file

@ -26,7 +26,7 @@
* ---
*
* conftab.c: Load game configuration files
*
*
* Known contributors to this file:
* Markus Armbruster, 2006-2008
*/

View file

@ -26,7 +26,7 @@
* ---
*
* ef_verify.c: Verify game configuration
*
*
* Known contributors to this file:
* Ron Koenderink, 2005
* Markus Armbruster, 2006-2008
@ -99,11 +99,11 @@ verify_row(int type, int row)
struct valstr val;
int ret_val = 0;
int flags = ef_flags(type);
if (flags & EFF_MEM)
row_ref = ef_ptr(type, row);
row_ref = ef_ptr(type, row);
else {
row_ref = malloc(empfile[type].size);
row_ref = malloc(empfile[type].size);
ef_read(type, row, row_ref);
}
@ -177,7 +177,7 @@ verify_row(int type, int row)
}
}
} while (++j < n);
}
}
if (!(flags & EFF_MEM))
free(row_ref);
return ret_val;

View file

@ -26,7 +26,7 @@
* ---
*
* emp_config.c: Allows config file to control server config. from a file
*
*
* Known contributors to this file:
* Julian Onions, 1995
* Steve McClure, 1998-2000

View file

@ -26,7 +26,7 @@
* ---
*
* file.c: Operations on Empire tables (`files' for historical reasons)
*
*
* Known contributors to this file:
* Dave Pare, 1989
* Steve McClure, 2000

View file

@ -26,7 +26,7 @@
* ---
*
* filetable.c: Empire game data file descriptions.
*
*
* Known contributors to this file:
* Markus Armbruster, 2005-2008
*/

View file

@ -26,7 +26,7 @@
* ---
*
* game.c: Game file access
*
*
* Known contributors to this file:
* Markus Armbruster, 2007-2008
*/
@ -51,7 +51,7 @@
#include "server.h"
/*
* Disable updates
* Disable updates
*/
void
game_ctrl_update(int enable)

View file

@ -26,7 +26,7 @@
* ---
*
* hap_fact.c: Happiness effect on che
*
*
* Known contributors to this file:
* Steve McClure, 1996
*/

View file

@ -26,7 +26,7 @@
* ---
*
* hours.c: Game hours determination; is it legal to play now?
*
*
* Known contributors to this file:
* Dave Pare, 1989
* Doug Hay, 1998

View file

@ -26,9 +26,9 @@
* ---
*
* mailbox.c: Return string containing telegram file
*
*
* Known contributors to this file:
*
*
*/
#include <config.h>

View file

@ -26,9 +26,9 @@
* ---
*
* mapdist.c: Return the distance between two sectors
*
*
* Known contributors to this file:
*
*
*/
/*

View file

@ -26,7 +26,7 @@
* ---
*
* move.c: Misc. move routines
*
*
* Known contributors to this file:
* Markus Armbruster, 2006
*/

View file

@ -26,7 +26,7 @@
* ---
*
* nat.c: Misc. accesses on the nation file
*
*
* Known contributors to this file:
* Dave Pare, 1989
*/

View file

@ -26,7 +26,7 @@
* ---
*
* nsc.c: Empire selection global structures
*
*
* Known contributors to this file:
* Markus Armbruster, 2004-2008
*/

View file

@ -26,7 +26,7 @@
* ---
*
* nstreval.c: evaluate compiled values
*
*
* Known contributors to this file:
* Dave Pare, 1989
* Steve McClure, 1997

View file

@ -27,7 +27,7 @@
*
* path.c: Empire/A* Interface code.
* Define AS_STATS for A* statistics.
*
*
* Known contributors to this file:
* Phil Lapsley, 1991
* Dave Pare, 1991

View file

@ -26,7 +26,7 @@
* ---
*
* rdsched.c: Read update schedule
*
*
* Known contributors to this file:
* Markus Armbruster, 2007-2008
*/
@ -57,7 +57,7 @@ static int delete_update(time_t, time_t[], int);
* Read update schedule from file FNAME.
* Put the first N-1 updates after T0 into SCHED[] in ascending order,
* terminated with a zero.
* Use ANCHOR as initial anchor for anchor-relative times.
* Use ANCHOR as initial anchor for anchor-relative times.
* Return 0 on success, -1 on failure.
*/
int

View file

@ -26,7 +26,7 @@
* ---
*
* res_pop.c: Get maximum pop of a sector
*
*
* Known contributors to this file:
* Ken Stevens, 1995
* Steve McClure, 1998

View file

@ -26,7 +26,7 @@
* ---
*
* stmtch.c: Matching operations on structures and commands
*
*
* Known contributors to this file:
* Markus Armbruster, 2004-2008
*/

View file

@ -26,7 +26,7 @@
* ---
*
* tfact.c: return tech fact given multiplier
*
*
* Known contributors to this file:
* Yannick Trembley
*/

View file

@ -26,7 +26,7 @@
* ---
*
* type.c: typename to array offset translation
*
*
* Known contributors to this file:
* Dave Pare, 1989
* Steve McClure, 2000

View file

@ -26,7 +26,7 @@
* ---
*
* wantupd.c: Check to se if an update is wanted and/or allowed.
*
*
* Known contributors to this file:
* Doug Hay, 1990
*/

View file

@ -26,7 +26,7 @@
* ---
*
* xdump.c: Extended dumps
*
*
* Known contributors to this file:
* Markus Armbruster, 2004-2008
*/

View file

@ -26,7 +26,7 @@
* ---
*
* xundump.c: Load back xdump output
*
*
* Known contributors to this file:
* Ron Koenderink, 2005
* Markus Armbruster, 2005-2008

View file

@ -26,7 +26,7 @@
* ---
*
* xy.c: x-y related conversion routines
*
*
* Known contributors to this file:
* Dave Pare, 1989
* Markus Armbruster, 2004-2008