logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit c8a7c68edc24af8b7f749a2881173e682c5c42d9
parent 292ce4445e5971aa4ecdd9eeb74c6c61465c9203
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  9 Oct 2020 21:17:28 +0200

Constify countries and continents names and ID arrays.

Diffstat:
Msrc/continents.c | 4++--
Msrc/countries.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/continents.c b/src/continents.c @@ -10,7 +10,7 @@ * See LICENSE file for details. */ -char *continentsId[] = { +const char *continentsId[] = { "AF", "AN", "AS", @@ -20,7 +20,7 @@ char *continentsId[] = { "SA" }; -char *continentsNames[] = { +const char *continentsNames[] = { "Africa", "Antarctica", "Asia", diff --git a/src/countries.c b/src/countries.c @@ -10,7 +10,7 @@ * See LICENSE file for details. */ -char *countriesId[] = { +const char *countriesId[] = { "AD", "AE", "AF", @@ -263,7 +263,7 @@ char *countriesId[] = { "ZW" }; -char *countriesNames[] = { +const char *countriesNames[] = { "Andorra", "United Arab Emirates", "Afghanistan",