static int candchrg(struct shpstr *, struct shpstr *);
static int canshoot(struct shpstr *, struct shpstr *);
static int cantorp(struct shpstr *, struct shpstr *);
-static void fire_dchrg(struct shpstr *sp, struct shpstr *targ, int ntargets);
+static void fire_dchrg(struct shpstr *, struct shpstr *, int);
static int fire_torp(struct shpstr *, struct shpstr *, int, int);
int
pr("Removing exsting motd.\n");
if ((unlink(msgfilepath) == -1) && (errno != ENOENT)) {
pr("Could not remove motd.\n");
- logerror("Could not remove motd file (%s).\n", msgfilepath);
+ logerror("Could not remove motd file (%s).\n",
+ msgfilepath);
return RET_SYS;
}
return RET_OK;