diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-24 01:35:42 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-24 02:06:53 -0400 |
commit | 2d06bffd5ab5043f7c4cfe67328844405078ee07 (patch) | |
tree | e8dde0ac9aaf3e002adb5255902957c191a30196 /crawl-ref/source/command.cc | |
parent | f638c35fa00d49858e26e5c095e56f24705d8408 (diff) | |
download | crawl-ref-2d06bffd5ab5043f7c4cfe67328844405078ee07.tar.gz crawl-ref-2d06bffd5ab5043f7c4cfe67328844405078ee07.zip |
Chance function(void) to function()
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r-- | crawl-ref/source/command.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 330f85f0d6..0dc58f95d5 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -58,9 +58,9 @@ #include "view.h" #include "viewchar.h" -static void _adjust_item(void); -static void _adjust_spell(void); -static void _adjust_ability(void); +static void _adjust_item(); +static void _adjust_spell(); +static void _adjust_ability(); static const char *features[] = { @@ -101,12 +101,12 @@ static const char *features[] = #endif }; -static string _get_version_information(void) +static string _get_version_information() { return string("This is <w>" CRAWL " ") + Version::Long + "</w>\n"; } -static string _get_version_features(void) +static string _get_version_features() { string result = "<w>Features</w>\n"; result += "--------\n"; @@ -125,7 +125,7 @@ static void _add_file_to_scroller(FILE* fp, formatted_scroller& m, int first_hotkey = 0, bool auto_hotkeys = false); -static string _get_version_changes(void) +static string _get_version_changes() { // Attempts to print "Highlights" of the latest version. FILE* fp = fopen_u(datafile_path("changelog.txt", false).c_str(), "r"); @@ -200,7 +200,7 @@ static string _get_version_changes(void) } //#define DEBUG_FILES -static void _print_version(void) +static void _print_version() { formatted_scroller cmd_version; @@ -217,7 +217,7 @@ static void _print_version(void) cmd_version.show(); } -void adjust(void) +void adjust() { mprf(MSGCH_PROMPT, "Adjust (i)tems, (s)pells, or (a)bilities? "); @@ -279,7 +279,7 @@ void swap_inv_slots(int from_slot, int to_slot, bool verbose) you.last_pickup.erase(from_slot); } -static void _adjust_item(void) +static void _adjust_item() { int from_slot, to_slot; @@ -311,7 +311,7 @@ static void _adjust_item(void) you.redraw_quiver = true; } -static void _adjust_spell(void) +static void _adjust_spell() { if (!you.spell_no) { @@ -377,7 +377,7 @@ static void _adjust_spell(void) mprf_nocap("%c - %s", input_1, spell_title(spell)); } -static void _adjust_ability(void) +static void _adjust_ability() { const vector<talent> talents = your_talents(false); @@ -492,7 +492,7 @@ void list_armour() } } -void list_jewellery(void) +void list_jewellery() { string jstr; int cols = get_number_of_cols() - 1; |