/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* nsc.c: Empire selection global structures
*
* Known contributors to this file:
- * Markus Armbruster, 2004-2016
+ * Markus Armbruster, 2004-2020
*/
/*
#undef CURSTR
};
-struct castr nat_ca[sizeof(cou_ca) / sizeof(*cou_ca)];
+struct castr nat_ca[ARRAY_SIZE(cou_ca)];
/* initialized by nsc_init() */
struct castr relat_ca[] = {
struct castr symbol_ca[] = {
#define CURSTR struct symbol
/*
- * value is is const because it has to match what is compiled into
+ * value is const because it has to match what is compiled into
* the server. name is const because clients key on it.
*/
{"value", fldoff(value), NSC_INT, 0, NULL, EF_BAD, 0, CA_DUMP_CONST},