]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/shi.c
commands: Rename the command functions
[empserver] / src / lib / commands / shi.c
index 83d2192a945fe82984fc1ca9a403f6b6135b2670..1397398af74b2fa9bdd5e28f0e6b7bd8a1e574fd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
 #include <config.h>
 
 #include "commands.h"
-#include "land.h"
-#include "optlist.h"
 #include "ship.h"
 
 int
-shi(void)
+c_ship(void)
 {
     int nships, noff, npln, nch, nxl;
     struct nstr_item ni;
@@ -55,8 +53,7 @@ shi(void)
            if (player->god)
                pr("own ");
            pr("shp#     ship type       x,y   fl   eff civ mil  uw  fd pn"
-              " he xl ln mob");
-           pr(" tech\n");
+              " he xl ln mob tech\n");
        }
        if (ship.shp_off)
            noff++;