/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* aswplnsubs.c: Various subroutines used for ASW planes
- *
+ *
* Known contributors to this file:
- * Ron Koenderink, 2004
+ * Ron Koenderink, 2004
*/
#include <config.h>
-#include <stdlib.h>
-#include "misc.h"
#include "file.h"
-#include "ship.h"
+#include "misc.h"
+#include "nat.h"
#include "plane.h"
#include "prototypes.h"
+#include "ship.h"
int
on_shiplist(short uid, struct shiplist *head)
}
s = malloc(sizeof(struct shiplist));
- if (s2 != NULL)
+ if (s2 != NULL)
s2->next = s;
else
*head = s;