From b5c62f5c894708498dcafa6943d8b212bc5d26ec Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 30 Apr 2006 08:39:20 +0000 Subject: [PATCH] Fix long lines. No functional changes. --- src/lib/commands/torp.c | 2 +- src/lib/commands/turn.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/torp.c b/src/lib/commands/torp.c index 3564e83e..38b8a016 100644 --- a/src/lib/commands/torp.c +++ b/src/lib/commands/torp.c @@ -54,7 +54,7 @@ static void anti_torp(int f, int ntorping, int vshipown); 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 diff --git a/src/lib/commands/turn.c b/src/lib/commands/turn.c index 8c197a87..7bf53c54 100644 --- a/src/lib/commands/turn.c +++ b/src/lib/commands/turn.c @@ -90,7 +90,8 @@ turn(void) 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;