From 60643055ef00006766b11b69042932066a7b007f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 26 May 2022 21:57:45 +0300 Subject: [PATCH 36/36] Fix doxygen marking line of function headers See osdn #44664 Signed-off-by: Marko Lindqvist --- client/gui-qt/gotodlg.cpp | 4 ++-- common/traderoutes.c | 8 ++++---- server/savegame/savecompat.c | 28 ++++++++++++++-------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/client/gui-qt/gotodlg.cpp b/client/gui-qt/gotodlg.cpp index 463839bb27..c19c6fdeac 100644 --- a/client/gui-qt/gotodlg.cpp +++ b/client/gui-qt/gotodlg.cpp @@ -491,9 +491,9 @@ void goto_dialog::paintEvent(QPaintEvent *event) painter.end(); } -/***********************************************************************//* +/***********************************************************************//** Popup a dialog to have the focus unit goto to a city. -**************************************************************************/ +***************************************************************************/ void popup_goto_dialog(void) { goto_dialog *gtd; diff --git a/common/traderoutes.c b/common/traderoutes.c index 0d0eaf8b42..3967f7327a 100644 --- a/common/traderoutes.c +++ b/common/traderoutes.c @@ -387,7 +387,7 @@ int city_num_trade_routes(const struct city *pcity) /*********************************************************************//** Comparator used in max_tile_trade. -**************************************************************************/ +*************************************************************************/ static int best_value(const void *a, const void *b) { return *(int *)a < *(int *)b; @@ -395,7 +395,7 @@ static int best_value(const void *a, const void *b) /*********************************************************************//** Returns the maximum trade production of the tiles of the city. -**************************************************************************/ +*************************************************************************/ static int max_tile_trade(const struct city *pcity) { int i, total = 0; @@ -439,7 +439,7 @@ static int max_tile_trade(const struct city *pcity) /*********************************************************************//** Returns the maximum trade production of a city. -**************************************************************************/ +*************************************************************************/ static int max_trade_prod(const struct city *pcity) { /* Trade tile base */ @@ -644,7 +644,7 @@ struct goods_type *goods_by_rule_name(const char *name) return NULL; } -/*********************************************************************//* +/*********************************************************************//** Returns goods type matching the translated name, or NULL if there is no goods type with that name. *************************************************************************/ diff --git a/server/savegame/savecompat.c b/server/savegame/savecompat.c index 57f19d2c22..a826b6fb64 100644 --- a/server/savegame/savecompat.c +++ b/server/savegame/savecompat.c @@ -1400,9 +1400,9 @@ static void compat_load_030000(struct loaddata *loading, secfile_replace_int(loading->file, num_settings, "settings.set_count"); } -/************************************************************************//* +/************************************************************************//** Insert server side agent information. -***************************************************************************/ +****************************************************************************/ static void insert_server_side_agent(struct loaddata *loading, enum sgf_version format_class) { @@ -1622,9 +1622,9 @@ static void compat_load_030100(struct loaddata *loading, insert_server_side_agent(loading, format_class); } -/**********************************************************************//** +/************************************************************************//** Upgrade unit activity orders to unit action orders. -**************************************************************************/ +****************************************************************************/ static void unit_order_activity_to_action(struct unit *act_unit) { int i; @@ -1680,9 +1680,9 @@ static void unit_order_activity_to_action(struct unit *act_unit) } } -/*******************************************************************//** +/************************************************************************//** Returns the opposite direction. -***********************************************************************/ +****************************************************************************/ static enum direction8 dir_opposite(enum direction8 dir) { switch (dir) { @@ -1707,9 +1707,9 @@ static enum direction8 dir_opposite(enum direction8 dir) return DIR8_ORIGIN; } -/**********************************************************************//** +/************************************************************************//** Upgrade unit action order target encoding. -**************************************************************************/ +****************************************************************************/ static void upgrade_unit_order_targets(struct unit *act_unit) { int i; @@ -1777,9 +1777,9 @@ static void upgrade_unit_order_targets(struct unit *act_unit) } } -/************************************************************************//* +/************************************************************************//** Correct the server side agent information. -***************************************************************************/ +****************************************************************************/ static void upgrade_server_side_agent(struct loaddata *loading) { players_iterate_alive(pplayer) { @@ -2608,9 +2608,9 @@ enum barbarian_type barb_type_convert(int old_type) return barbarian_type_invalid(); } -/**********************************************************************//** +/************************************************************************//** Assign a new base building task to unit -**************************************************************************/ +****************************************************************************/ void set_unit_activity_base(struct unit *punit, Base_type_id base) { @@ -2618,9 +2618,9 @@ void set_unit_activity_base(struct unit *punit, base_extra_get(base_by_number(base))); } -/**********************************************************************//** +/************************************************************************//** Assign a new road building task to unit -**************************************************************************/ +****************************************************************************/ void set_unit_activity_road(struct unit *punit, Road_type_id road) { -- 2.35.1