]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/nati.c
commands: Rename the command functions
[empserver] / src / lib / commands / nati.c
index 916cbf165f14d41a38997d26db16f8d0bc1965e9..f6994c0673241f9c87ce527169db4bc0f71b842e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2016, 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
@@ -36,7 +36,7 @@
 #include "optlist.h"
 
 int
-nati(void)
+c_nation(void)
 {
     struct natstr *natp;
     struct sctstr sect;
@@ -59,7 +59,7 @@ nati(void)
        return RET_FAIL;
     }
 
-    pr("\n(#%i) %s Nation Report\t", cnum, cname(cnum));
+    pr("\n(#%d) %s Nation Report\t", cnum, cname(cnum));
     prdate();
     pr("Nation status is %s", natstate(natp));
     pr("     Bureaucratic Time Units: %d\n", natp->nat_btu);