]> git.pond.sub.org Git - empserver/commitdiff
Fix long lines. No functional changes.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 30 Apr 2006 08:39:20 +0000 (08:39 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 30 Apr 2006 08:39:20 +0000 (08:39 +0000)
src/lib/commands/torp.c
src/lib/commands/turn.c

index 3564e83ed26e961eaf267e83f1b80d48e0f04dc5..38b8a016d1fb7e876d4e9d31c1ffd63acbff1ae1 100644 (file)
@@ -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
index 8c197a872c734e9f22867259bcb1b3cc406c5ceb..7bf53c5434f83eb0e618f62f0be921c9a9accdda 100644 (file)
@@ -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;