train_cmd.c
changeset 2752 b5fe5a7e6282
parent 2704 dc9ae68dfd74
child 2758 9cd8a21e9a7b
--- a/train_cmd.c	Wed Dec 14 06:16:34 2005 +0000
+++ b/train_cmd.c	Wed Dec 14 06:20:23 2005 +0000
@@ -36,7 +36,7 @@
  * the consist changes.
  * @param v First vehicle of the consist.
  */
-void TrainCargoChanged(Vehicle* v)
+static void TrainCargoChanged(Vehicle* v)
 {
 	Vehicle *u;
 	uint16 weight = 0;