Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Melyns authored Sep 15, 2024
1 parent 3c7a25e commit dc5b467
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions country_codes.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#ifndef COUNTRY_CODES_H
#define COUNTRY_CODES_H

// Structure to hold country code and name mapping
struct CountryCode {
const char* code;
const char* name;
};

// List of country codes and their corresponding full names
static const struct CountryCode country_codes[] = {
{ "AF", "Afghanistan" },
{ "AL", "Albania" },
Expand Down Expand Up @@ -261,4 +259,4 @@ static const struct CountryCode country_codes[] = {

#define NUM_COUNTRY_CODES (sizeof(country_codes) / sizeof(country_codes[0]))

#endif // COUNTRY_CODES_H
#endif

0 comments on commit dc5b467

Please sign in to comment.