diff --git a/swad_API_database.c b/swad_API_database.c index c51f4411..54e9587b 100644 --- a/swad_API_database.c +++ b/swad_API_database.c @@ -30,21 +30,6 @@ #include "swad_API_database.h" #include "swad_config.h" #include "swad_database.h" -// #include "swad_global.h" - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -// extern struct Globals Gbl; - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ /*****************************************************************************/ /****************************** Insert API key *******************************/ diff --git a/swad_ID.c b/swad_ID.c index 08494865..2fa2c1f5 100644 --- a/swad_ID.c +++ b/swad_ID.c @@ -56,10 +56,6 @@ extern struct Globals Gbl; #define ID_MAX_IDS_PER_USER 3 // Maximum number of IDs per user -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_ID_database.c b/swad_ID_database.c index 93a9d1d6..edf24c38 100644 --- a/swad_ID_database.c +++ b/swad_ID_database.c @@ -32,26 +32,6 @@ #include "swad_ID.h" #include "swad_ID_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Create new user's ID ****************************/ /*****************************************************************************/ diff --git a/swad_ID_database.h b/swad_ID_database.h index f71b6559..cb08dbf4 100644 --- a/swad_ID_database.h +++ b/swad_ID_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_MAC.c b/swad_MAC.c index cf97520e..6e0257e6 100644 --- a/swad_MAC.c +++ b/swad_MAC.c @@ -34,14 +34,6 @@ #include "swad_MAC.h" #include "swad_parameter.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ @@ -53,10 +45,6 @@ struct MAC_Params char MACstr[MAC_LENGTH_MAC_ADDRESS + 1]; // MAC address }; -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_MAC.h b/swad_MAC.h index d32e285e..1b8d10d2 100644 --- a/swad_MAC.h +++ b/swad_MAC.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************** Headers **********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Public types and constants ***********************/ /*****************************************************************************/ diff --git a/swad_RSS.c b/swad_RSS.c index a07d98b9..edf1357b 100644 --- a/swad_RSS.c +++ b/swad_RSS.c @@ -44,10 +44,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_RSS.h b/swad_RSS.h index 27240802..fbc07f40 100644 --- a/swad_RSS.h +++ b/swad_RSS.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_agenda.c b/swad_agenda.c index 5e262740..26a0bb99 100644 --- a/swad_agenda.c +++ b/swad_agenda.c @@ -65,14 +65,6 @@ static const char *ParamPast__FutureName = "Past__Future"; static const char *ParamPrivatPublicName = "PrivatPublic"; static const char *ParamHiddenVisiblName = "HiddenVisibl"; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_agenda_database.c b/swad_agenda_database.c index 42410c66..9bd0d8ea 100644 --- a/swad_agenda_database.c +++ b/swad_agenda_database.c @@ -42,22 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Get list of agenda events *************************/ /*****************************************************************************/ diff --git a/swad_agenda_database.h b/swad_agenda_database.h index 2975b517..9820b960 100644 --- a/swad_agenda_database.h +++ b/swad_agenda_database.h @@ -31,10 +31,6 @@ #include "swad_agenda.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_announcement.h b/swad_announcement.h index e4924e29..9e72cce8 100644 --- a/swad_announcement.h +++ b/swad_announcement.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_assignment.c b/swad_assignment.c index fd94706c..8b18a7fa 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -58,14 +58,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_assignment_database.h b/swad_assignment_database.h index f253b877..1186a60f 100644 --- a/swad_assignment_database.h +++ b/swad_assignment_database.h @@ -33,10 +33,6 @@ #include "swad_browser.h" #include "swad_group.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_attendance.c b/swad_attendance.c index 816ac772..ae017542 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -76,10 +76,6 @@ typedef enum Att_PRNT_SEL_USR, // Print selected users } Att_TypeOfView_t; -/*****************************************************************************/ -/****************************** Private variables ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Private prototypes ***************************/ /*****************************************************************************/ diff --git a/swad_attendance_database.c b/swad_attendance_database.c index 8f0c92c0..e22483bf 100644 --- a/swad_attendance_database.c +++ b/swad_attendance_database.c @@ -89,14 +89,6 @@ static const char *Att_DB_OrderBySubQuery[Dat_NUM_START_END_TIME][Att_NUM_ORDERS "Title", }; -/*****************************************************************************/ -/******************************** Private types ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private prototypes ***************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************** Get list of attendance events in my groups *****************/ /*****************************************************************************/ diff --git a/swad_attendance_database.h b/swad_attendance_database.h index f793bcf8..8ba0283b 100644 --- a/swad_attendance_database.h +++ b/swad_attendance_database.h @@ -33,9 +33,6 @@ #include "swad_date.h" #include "swad_group.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_banner.c b/swad_banner.c index 17bbddfe..f832a6b2 100644 --- a/swad_banner.c +++ b/swad_banner.c @@ -49,10 +49,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ diff --git a/swad_banner_database.c b/swad_banner_database.c index 3c6225a5..eef590dc 100644 --- a/swad_banner_database.c +++ b/swad_banner_database.c @@ -37,22 +37,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Get list of all banners **************************/ /*****************************************************************************/ diff --git a/swad_banner_database.h b/swad_banner_database.h index afa1d5d3..8146e312 100644 --- a/swad_banner_database.h +++ b/swad_banner_database.h @@ -31,10 +31,6 @@ #include "swad_banner.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_building.c b/swad_building.c index a9716b68..426be3a5 100644 --- a/swad_building.c +++ b/swad_building.c @@ -45,14 +45,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_building_database.c b/swad_building_database.c index a805d590..15afa392 100644 --- a/swad_building_database.c +++ b/swad_building_database.c @@ -35,23 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - - /*****************************************************************************/ /************************** Create a new building ****************************/ /*****************************************************************************/ diff --git a/swad_building_database.h b/swad_building_database.h index b8a62a10..1acb9a88 100644 --- a/swad_building_database.h +++ b/swad_building_database.h @@ -31,10 +31,6 @@ #include "swad_building.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_button.h b/swad_button.h index edd1c822..2024a6ff 100644 --- a/swad_button.h +++ b/swad_button.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Public types ******************************/ /*****************************************************************************/ diff --git a/swad_call_for_exam.c b/swad_call_for_exam.c index 2833365f..f427ba50 100644 --- a/swad_call_for_exam.c +++ b/swad_call_for_exam.c @@ -59,18 +59,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_call_for_exam_database.c b/swad_call_for_exam_database.c index 1654f308..fd1c3132 100644 --- a/swad_call_for_exam_database.c +++ b/swad_call_for_exam_database.c @@ -36,22 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************** Add a call for exam to the database ********************/ /*****************************************************************************/ diff --git a/swad_call_for_exam_database.h b/swad_call_for_exam_database.h index 58825d64..83e164b5 100644 --- a/swad_call_for_exam_database.h +++ b/swad_call_for_exam_database.h @@ -29,10 +29,6 @@ #include "swad_call_for_exam.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_center.c b/swad_center.c index 73f21373..80fcc8da 100644 --- a/swad_center.c +++ b/swad_center.c @@ -58,14 +58,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_center_config.c b/swad_center_config.c index e13634b9..37dafce9 100644 --- a/swad_center_config.c +++ b/swad_center_config.c @@ -67,14 +67,6 @@ extern struct Globals Gbl; #define Ctr_PHOTO_SAVED_MAX_HEIGHT 768 #define Ctr_PHOTO_SAVED_QUALITY 90 // 1 to 100 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_center_config.h b/swad_center_config.h index 562ccb69..97cf93f2 100644 --- a/swad_center_config.h +++ b/swad_center_config.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_center_database.c b/swad_center_database.c index 387f3771..071796ef 100644 --- a/swad_center_database.c +++ b/swad_center_database.c @@ -42,22 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Create a new center ***************************/ /*****************************************************************************/ diff --git a/swad_center_database.h b/swad_center_database.h index 3f138677..b7500824 100644 --- a/swad_center_database.h +++ b/swad_center_database.h @@ -34,10 +34,6 @@ #include "swad_media.h" #include "swad_search.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_changelog.h b/swad_changelog.h index 848f4b17..ed96d6d5 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -602,14 +602,15 @@ TODO: FIX BUG, URGENT! En las fechas como par TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo. */ -#define Log_PLATFORM_VERSION "SWAD 21.55 (2021-11-09)" +#define Log_PLATFORM_VERSION "SWAD 21.55.1 (2021-11-09)" #define CSS_FILE "swad20.45.css" #define JS_FILE "swad20.69.1.js" /* TODO: Rename CENTRE to CENTER in help wiki. TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams - Version 21.55: Nov 07, 2021 New module swad_template. Removed unused comments. (320885 lines) + Version 21.55.1: Nov 09, 2021 Removed unused comments. (319893 lines) + Version 21.55: Nov 09, 2021 New module swad_template. Removed unused comments. (320885 lines) Version 21.54.8: Nov 09, 2021 Queries moved from API module to database modules. (322179 lines) Version 21.54.7: Nov 09, 2021 Queries moved from API module to database modules. (322175 lines) Version 21.54.6: Nov 09, 2021 Code refactoring in notifications. (322164 lines) diff --git a/swad_chat_database.c b/swad_chat_database.c index cde6c6f1..e8b86109 100644 --- a/swad_chat_database.c +++ b/swad_chat_database.c @@ -30,21 +30,6 @@ #include "swad_chat.h" #include "swad_chat_database.h" #include "swad_database.h" -#include "swad_global.h" - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -extern struct Globals Gbl; - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ /*****************************************************************************/ /********************** Get list of chat rooms with users ********************/ diff --git a/swad_connected.c b/swad_connected.c index 250f18f5..fdcad566 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -49,10 +49,6 @@ #include "swad_string.h" #include "swad_user.h" -/*****************************************************************************/ -/*************************** Private constants *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_connected_database.c b/swad_connected_database.c index 7fcc1420..87581b51 100644 --- a/swad_connected_database.c +++ b/swad_connected_database.c @@ -32,20 +32,12 @@ #include "swad_global.h" #include "swad_hierarchy_level.h" -/*****************************************************************************/ -/*************************** Private constants *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/**************************** Private prototypes *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************** Get number of connected users with a role ******************/ /*****************************************************************************/ diff --git a/swad_constant.h b/swad_constant.h index 19bea187..7c913af3 100644 --- a/swad_constant.h +++ b/swad_constant.h @@ -119,8 +119,4 @@ typedef enum Cns_FULL_NAME, } Cns_ShrtOrFullName_t; -/*****************************************************************************/ -/***************************** Public prototypes *****************************/ -/*****************************************************************************/ - #endif diff --git a/swad_cookie.h b/swad_cookie.h index 3d6cc7b3..09f56581 100644 --- a/swad_cookie.h +++ b/swad_cookie.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Public types and constants ************************/ /*****************************************************************************/ diff --git a/swad_cookie_database.h b/swad_cookie_database.h index 0ed574a5..9ed6a0b6 100644 --- a/swad_cookie_database.h +++ b/swad_cookie_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_country.c b/swad_country.c index 7ca289be..39642ae3 100644 --- a/swad_country.c +++ b/swad_country.c @@ -51,14 +51,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_country_config.c b/swad_country_config.c index e81a1d90..99555758 100644 --- a/swad_country_config.c +++ b/swad_country_config.c @@ -51,18 +51,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_country_config.h b/swad_country_config.h index ee9e555c..b19f7cee 100644 --- a/swad_country_config.h +++ b/swad_country_config.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_country_database.c b/swad_country_database.c index 40244cf5..9176aa56 100644 --- a/swad_country_database.c +++ b/swad_country_database.c @@ -46,21 +46,9 @@ extern struct Globals Gbl; /***************************** Private constants *****************************/ /*****************************************************************************/ -#define Cty_MAX_BYTES_SUBQUERY_CTYS ((1 + Lan_NUM_LANGUAGES) * 32) -#define Cty_MAX_BYTES_SUBQUERY_CTYS_NAME ((1 + Lan_NUM_LANGUAGES) * Cty_MAX_BYTES_NAME) -#define Cty_MAX_BYTES_SUBQUERY_CTYS_WWW ((1 + Lan_NUM_LANGUAGES) * Cns_MAX_BYTES_WWW) - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ +#define Cty_DB_MAX_BYTES_SUBQUERY_CTYS ((1 + Lan_NUM_LANGUAGES) * 32) +#define Cty_DB_MAX_BYTES_SUBQUERY_CTYS_NAME ((1 + Lan_NUM_LANGUAGES) * Cty_MAX_BYTES_NAME) +#define Cty_DB_MAX_BYTES_SUBQUERY_CTYS_WWW ((1 + Lan_NUM_LANGUAGES) * Cns_MAX_BYTES_WWW) /*****************************************************************************/ /**************************** Create a new country ***************************/ @@ -71,10 +59,10 @@ void Cty_DB_CreateCountry (const struct Cty_Countr *Cty) extern const char *Lan_STR_LANG_ID[1 + Lan_NUM_LANGUAGES]; Lan_Language_t Lan; char StrField[32]; - char SubQueryNam1[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; - char SubQueryNam2[Cty_MAX_BYTES_SUBQUERY_CTYS_NAME + 1]; - char SubQueryWWW1[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; - char SubQueryWWW2[Cty_MAX_BYTES_SUBQUERY_CTYS_WWW + 1]; + char SubQueryNam1[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryNam2[Cty_DB_MAX_BYTES_SUBQUERY_CTYS_NAME + 1]; + char SubQueryWWW1[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryWWW2[Cty_DB_MAX_BYTES_SUBQUERY_CTYS_WWW + 1]; /***** Create a new country *****/ SubQueryNam1[0] = '\0'; @@ -162,10 +150,10 @@ unsigned Cty_DB_GetCtysFull (MYSQL_RES **mysql_res) { extern const char *Lan_STR_LANG_ID[1 + Lan_NUM_LANGUAGES]; char StrField[32]; - char SubQueryNam1[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; - char SubQueryNam2[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; - char SubQueryWWW1[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; - char SubQueryWWW2[Cty_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryNam1[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryNam2[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryWWW1[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; + char SubQueryWWW2[Cty_DB_MAX_BYTES_SUBQUERY_CTYS + 1]; char *OrderBySubQuery = NULL; static const char *OrderBySubQueryFmt[Cty_NUM_ORDERS] = { diff --git a/swad_country_database.h b/swad_country_database.h index 1d1fb690..282672a3 100644 --- a/swad_country_database.h +++ b/swad_country_database.h @@ -34,10 +34,6 @@ #include "swad_media.h" #include "swad_search.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_cryptography.c b/swad_cryptography.c index 49bdde51..54535ba8 100644 --- a/swad_cryptography.c +++ b/swad_cryptography.c @@ -54,10 +54,6 @@ extern const char Str_BIN_TO_BASE64URL[64 + 1]; #define BITS_SHA512_ENCRYPTION 512 #define BYTES_SHA512_ENCRYPTION (BITS_SHA512_ENCRYPTION/8) -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************** Encrypt a plain text using SHA=256 algorithm ****************/ /*****************************************************************************/ diff --git a/swad_database.c b/swad_database.c index 81102669..5d27c71f 100644 --- a/swad_database.c +++ b/swad_database.c @@ -47,10 +47,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_date.c b/swad_date.c index d4922b54..41ed6d89 100644 --- a/swad_date.c +++ b/swad_date.c @@ -89,10 +89,6 @@ static const unsigned Dat_NumDaysMonth[1 + 12] = [12] = 31, // December }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_degree_config.h b/swad_degree_config.h index 4aefe665..e267f1a3 100644 --- a/swad_degree_config.h +++ b/swad_degree_config.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_department.c b/swad_department.c index 354148aa..8cd007b7 100644 --- a/swad_department.c +++ b/swad_department.c @@ -50,14 +50,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_department_database.c b/swad_department_database.c index a272aa33..12cfd2ae 100644 --- a/swad_department_database.c +++ b/swad_department_database.c @@ -36,22 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Create a new department **************************/ /*****************************************************************************/ diff --git a/swad_department_database.h b/swad_department_database.h index 6c8158e6..ca70d9a1 100644 --- a/swad_department_database.h +++ b/swad_department_database.h @@ -32,10 +32,6 @@ #include "swad_constant.h" #include "swad_department.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_enrolment.c b/swad_enrolment.c index cfe951a9..f5735912 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -96,10 +96,6 @@ typedef enum extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_exam.c b/swad_exam.c index 77399394..e26a467d 100644 --- a/swad_exam.c +++ b/swad_exam.c @@ -21,7 +21,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Headers ***********************************/ /*****************************************************************************/ @@ -102,14 +101,6 @@ extern struct Globals Gbl; */ #define Exa_MAX_GRADE_DEFAULT 1.0 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_exam.h b/swad_exam.h index ffccc86e..c78cc1ce 100644 --- a/swad_exam.h +++ b/swad_exam.h @@ -23,17 +23,12 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Headers ***********************************/ /*****************************************************************************/ #include "swad_exam_type.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_exam_database.c b/swad_exam_database.c index 7ca0c8fe..45cba36b 100644 --- a/swad_exam_database.c +++ b/swad_exam_database.c @@ -43,25 +43,12 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ static void Exa_DB_RemoveUsrSesResultsInCrs (long UsrCod,long CrsCod,const char *TableName); - /*****************************************************************************/ /**************************** Create a new exam ******************************/ /*****************************************************************************/ diff --git a/swad_exam_database.h b/swad_exam_database.h index af68e06f..397f5f69 100644 --- a/swad_exam_database.h +++ b/swad_exam_database.h @@ -33,10 +33,6 @@ #include "swad_exam_set.h" #include "swad_question_type.h" -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_exam_log.c b/swad_exam_log.c index af083cd5..80973a45 100644 --- a/swad_exam_log.c +++ b/swad_exam_log.c @@ -43,14 +43,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_exam_log.h b/swad_exam_log.h index 98866200..c262a6b6 100644 --- a/swad_exam_log.h +++ b/swad_exam_log.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************** Headers **********************************/ /*****************************************************************************/ diff --git a/swad_exam_print.c b/swad_exam_print.c index cc11652a..247af0f2 100644 --- a/swad_exam_print.c +++ b/swad_exam_print.c @@ -53,18 +53,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_exam_result.c b/swad_exam_result.c index 763286dd..323cbfcb 100644 --- a/swad_exam_result.c +++ b/swad_exam_result.c @@ -59,10 +59,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ @@ -73,19 +69,10 @@ struct ExaRes_ICanView bool Score; }; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ - static void ExaRes_ListMyResultsInCrs (struct Exa_Exams *Exams); static void ExaRes_ListMyResultsInExa (struct Exa_Exams *Exams,long ExaCod); static void ExaRes_ListMyResultsInSes (struct Exa_Exams *Exams,long SesCod); diff --git a/swad_exam_session.c b/swad_exam_session.c index 8f7b1ed9..1e162b23 100644 --- a/swad_exam_session.c +++ b/swad_exam_session.c @@ -56,22 +56,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_exam_set.c b/swad_exam_set.c index 31f0216f..fafbe29a 100644 --- a/swad_exam_set.c +++ b/swad_exam_set.c @@ -21,7 +21,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Headers ***********************************/ /*****************************************************************************/ @@ -67,14 +66,6 @@ extern struct Globals Gbl; #define ExaSet_MAX_SELECTED_QUESTIONS 10000 #define ExaSet_MAX_BYTES_LIST_SELECTED_QUESTIONS (ExaSet_MAX_SELECTED_QUESTIONS * (Cns_MAX_DECIMAL_DIGITS_LONG + 1)) -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_exam_set.h b/swad_exam_set.h index c2dd3680..56643c53 100644 --- a/swad_exam_set.h +++ b/swad_exam_set.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Headers ***********************************/ /*****************************************************************************/ @@ -32,10 +31,6 @@ #include "swad_question.h" #include "swad_question_type.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_figure.c b/swad_figure.c index 8f4bd565..d236cabe 100644 --- a/swad_figure.c +++ b/swad_figure.c @@ -80,10 +80,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ diff --git a/swad_figure_cache.c b/swad_figure_cache.c index 8c74de16..aae2e18d 100644 --- a/swad_figure_cache.c +++ b/swad_figure_cache.c @@ -33,26 +33,6 @@ #include "swad_scope.h" #include "swad_string.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private prototypes ***************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Update figure into cache ************************/ /*****************************************************************************/ diff --git a/swad_figure_database.c b/swad_figure_database.c index 74cba85a..26c5b6c0 100644 --- a/swad_figure_database.c +++ b/swad_figure_database.c @@ -28,26 +28,6 @@ #include "swad_database.h" #include "swad_figure_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private prototypes ***************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************** Update unsigned figure value into cache ******************/ /*****************************************************************************/ diff --git a/swad_figure_database.h b/swad_figure_database.h index a3c2b278..0c4c01d4 100644 --- a/swad_figure_database.h +++ b/swad_figure_database.h @@ -32,10 +32,6 @@ #include "swad_figure_cache.h" #include "swad_hierarchy_level.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_file.c b/swad_file.c index 6333dd6f..5de22f7c 100644 --- a/swad_file.c +++ b/swad_file.c @@ -57,18 +57,6 @@ extern struct Globals Gbl; #define NUM_BYTES_PER_CHUNK 4096 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******** Create HTML output file for the web page sent by this CGI **********/ /*****************************************************************************/ diff --git a/swad_file_MIME.c b/swad_file_MIME.c index f378e1f3..ffaa1829 100644 --- a/swad_file_MIME.c +++ b/swad_file_MIME.c @@ -21,7 +21,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************** Headers **********************************/ /*****************************************************************************/ diff --git a/swad_file_database.c b/swad_file_database.c index 07e85c65..a57d3dbd 100644 --- a/swad_file_database.c +++ b/swad_file_database.c @@ -35,22 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********* Add public directory used to link private path to cache ***********/ /*****************************************************************************/ diff --git a/swad_file_database.h b/swad_file_database.h index 41085dab..7bc1f9c2 100644 --- a/swad_file_database.h +++ b/swad_file_database.h @@ -29,10 +29,6 @@ #include // For PATH_MAX -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_firewall.c b/swad_firewall.c index 66849396..e84d2d1f 100644 --- a/swad_firewall.c +++ b/swad_firewall.c @@ -30,21 +30,6 @@ #include "swad_database.h" #include "swad_firewall.h" #include "swad_firewall_database.h" -#include "swad_global.h" - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -extern struct Globals Gbl; - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ /*****************************************************************************/ /****************************** Private prototypes ***************************/ diff --git a/swad_firewall.h b/swad_firewall.h index 5c6bdfa0..f016b891 100644 --- a/swad_firewall.h +++ b/swad_firewall.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Public types and constants ***********************/ /*****************************************************************************/ diff --git a/swad_firewall_database.c b/swad_firewall_database.c index 4dc63495..6f892f8b 100644 --- a/swad_firewall_database.c +++ b/swad_firewall_database.c @@ -37,18 +37,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private prototypes ***************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************* Log access into firewall recent log *******************/ /*****************************************************************************/ diff --git a/swad_firewall_database.h b/swad_firewall_database.h index 9dfbfa68..faef883f 100644 --- a/swad_firewall_database.h +++ b/swad_firewall_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_form.c b/swad_form.c index bfc33981..5ba1fbc3 100644 --- a/swad_form.c +++ b/swad_form.c @@ -41,10 +41,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_forum.c b/swad_forum.c index 0373c213..9bc77045 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -297,11 +297,7 @@ static const unsigned PermissionThreadDeletion[For_NUM_TYPES_FORUM] = #define For_IMAGE_SAVED_QUALITY 90 // 1 to 100 /*****************************************************************************/ -/***************************** Private types ***************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ***************************/ +/****************************** Private prototypes ***************************/ /*****************************************************************************/ static long For_InsertForumPst (long ThrCod,long UsrCod, diff --git a/swad_game.c b/swad_game.c index 5f2969dd..00046047 100644 --- a/swad_game.c +++ b/swad_game.c @@ -100,14 +100,6 @@ extern struct Globals Gbl; */ #define Gam_MAX_GRADE_DEFAULT 1.0 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_game_database.c b/swad_game_database.c index 97ce6ca8..d34f0140 100644 --- a/swad_game_database.c +++ b/swad_game_database.c @@ -41,22 +41,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Create a new game ******************************/ /*****************************************************************************/ diff --git a/swad_game_database.h b/swad_game_database.h index 1b8f340c..1a3fe258 100644 --- a/swad_game_database.h +++ b/swad_game_database.h @@ -30,10 +30,6 @@ #include "swad_game.h" #include "swad_hierarchy_level.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_global.c b/swad_global.c index 2716357a..b9603ac1 100644 --- a/swad_global.c +++ b/swad_global.c @@ -62,26 +62,6 @@ struct Globals Gbl; // All the global parameters and variables must be in this structure -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* Intialize globals variables when starting program *************/ /*****************************************************************************/ diff --git a/swad_group.c b/swad_group.c index 2044d0ae..42e3337f 100644 --- a/swad_group.c +++ b/swad_group.c @@ -78,20 +78,12 @@ static const bool Grp_ICanChangeGrps[Rol_NUM_ROLES] = [Rol_SYS_ADM] = true, }; -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* External global variables from others modules *****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_group_database.c b/swad_group_database.c index dedce43b..61d545d4 100644 --- a/swad_group_database.c +++ b/swad_group_database.c @@ -34,28 +34,12 @@ #include "swad_global.h" #include "swad_group.h" -/*****************************************************************************/ -/*************************** Private constants *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* External global variables from others modules *****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*********** Lock tables to make the registration in groups atomic ***********/ /*****************************************************************************/ diff --git a/swad_holiday.c b/swad_holiday.c index 33e416b5..bb858e04 100644 --- a/swad_holiday.c +++ b/swad_holiday.c @@ -47,14 +47,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_holiday_database.c b/swad_holiday_database.c index d1ecb4de..decd38c8 100644 --- a/swad_holiday_database.c +++ b/swad_holiday_database.c @@ -35,22 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************** Create a new holiday or no school period *****************/ /*****************************************************************************/ diff --git a/swad_holiday_database.h b/swad_holiday_database.h index c29e096a..853af29a 100644 --- a/swad_holiday_database.h +++ b/swad_holiday_database.h @@ -30,10 +30,6 @@ #include "swad_date.h" #include "swad_holiday.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_indicator.c b/swad_indicator.c index 665bb2c5..17954fd1 100644 --- a/swad_indicator.c +++ b/swad_indicator.c @@ -53,10 +53,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ diff --git a/swad_indicator_database.c b/swad_indicator_database.c index 6bb411cf..0d386895 100644 --- a/swad_indicator_database.c +++ b/swad_indicator_database.c @@ -38,18 +38,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************ Store number of indicators of a course in database *************/ /*****************************************************************************/ diff --git a/swad_indicator_database.h b/swad_indicator_database.h index 58d556c2..c272ba3e 100644 --- a/swad_indicator_database.h +++ b/swad_indicator_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_institution.c b/swad_institution.c index c4926e32..fd4cba29 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -58,14 +58,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_institution_config.c b/swad_institution_config.c index b24b573c..0f45dcb7 100644 --- a/swad_institution_config.c +++ b/swad_institution_config.c @@ -54,18 +54,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_institution_config.h b/swad_institution_config.h index 6bf3e218..1571ef6b 100644 --- a/swad_institution_config.h +++ b/swad_institution_config.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************** Headers **********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************ Public types and constants *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_institution_database.c b/swad_institution_database.c index 75a7b1e0..0947400b 100644 --- a/swad_institution_database.c +++ b/swad_institution_database.c @@ -42,22 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Create a new institution *************************/ /*****************************************************************************/ diff --git a/swad_institution_database.h b/swad_institution_database.h index 2b8e544c..2bf5ef2c 100644 --- a/swad_institution_database.h +++ b/swad_institution_database.h @@ -33,10 +33,6 @@ #include "swad_role_type.h" #include "swad_search.h" -/*****************************************************************************/ -/************************ Public types and constants *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_link.c b/swad_link.c index ce5f90a5..f5e000a3 100644 --- a/swad_link.c +++ b/swad_link.c @@ -48,14 +48,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_link.h b/swad_link.h index 943a9a00..b68e4f4b 100644 --- a/swad_link.h +++ b/swad_link.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Public types and constants ***********************/ /*****************************************************************************/ diff --git a/swad_link_database.c b/swad_link_database.c index 060ebf30..e2896e0b 100644 --- a/swad_link_database.c +++ b/swad_link_database.c @@ -28,26 +28,6 @@ #include "swad_database.h" #include "swad_link_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Create a new link ******************************/ /*****************************************************************************/ diff --git a/swad_link_database.h b/swad_link_database.h index 6b80eb21..62faae95 100644 --- a/swad_link_database.h +++ b/swad_link_database.h @@ -31,10 +31,6 @@ #include "swad_link.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_mail.c b/swad_mail.c index 50da19d8..601d918c 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -51,14 +51,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_mail_database.c b/swad_mail_database.c index edce7be6..b0f53cd9 100644 --- a/swad_mail_database.c +++ b/swad_mail_database.c @@ -36,22 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Update a user's email ***************************/ /*****************************************************************************/ diff --git a/swad_mail_database.h b/swad_mail_database.h index 06000bfd..3e337ff6 100644 --- a/swad_mail_database.h +++ b/swad_mail_database.h @@ -29,10 +29,6 @@ #include "swad_constant.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_main.c b/swad_main.c index 7a577479..d5645c3f 100644 --- a/swad_main.c +++ b/swad_main.c @@ -58,18 +58,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/******************************** Private types ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Main function ********************************/ /*****************************************************************************/ diff --git a/swad_maintenance.c b/swad_maintenance.c index 6361557b..dd17def8 100644 --- a/swad_maintenance.c +++ b/swad_maintenance.c @@ -29,22 +29,6 @@ #include "swad_database.h" #include "swad_menu.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_maintenance.h b/swad_maintenance.h index 81127e62..554cea7c 100644 --- a/swad_maintenance.h +++ b/swad_maintenance.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_map.c b/swad_map.c index ccd25102..c1b48727 100644 --- a/swad_map.c +++ b/swad_map.c @@ -33,24 +33,6 @@ #include "swad_map.h" #include "swad_string.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -// extern struct Globals Gbl; - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_mark.c b/swad_mark.c index afdeaa05..31afceac 100644 --- a/swad_mark.c +++ b/swad_mark.c @@ -55,10 +55,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ diff --git a/swad_mark_database.c b/swad_mark_database.c index e6a3c286..479e635c 100644 --- a/swad_mark_database.c +++ b/swad_mark_database.c @@ -36,10 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -50,10 +46,6 @@ static const char *Mrk_DB_HeadOrFootStr[2] = // Names of columns in database, so "Footer", }; -/*****************************************************************************/ -/**************************** Private prototypes *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************** Add a new entry of marks into database *******************/ /*****************************************************************************/ diff --git a/swad_mark_database.h b/swad_mark_database.h index 88786454..35a40d9c 100644 --- a/swad_mark_database.h +++ b/swad_mark_database.h @@ -29,10 +29,6 @@ #include "swad_mark.h" -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_match.c b/swad_match.c index 2f98a709..4dd5d94c 100644 --- a/swad_match.c +++ b/swad_match.c @@ -80,10 +80,6 @@ typedef enum Mch_REFRESH_STATUS_BY_SERVER, } Mch_Update_t; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_match_database.c b/swad_match_database.c index 866d1b55..d8db406d 100644 --- a/swad_match_database.c +++ b/swad_match_database.c @@ -45,14 +45,6 @@ extern struct Globals Gbl; /***************************** Private constants *****************************/ /*****************************************************************************/ -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - const char *Mch_ShowingStringsDB[Mch_NUM_SHOWING] = { [Mch_START ] = "start", @@ -62,10 +54,6 @@ const char *Mch_ShowingStringsDB[Mch_NUM_SHOWING] = [Mch_END ] = "end", }; -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************** Create a new match in a game *************************/ /*****************************************************************************/ diff --git a/swad_match_database.h b/swad_match_database.h index d71d432d..5096d445 100644 --- a/swad_match_database.h +++ b/swad_match_database.h @@ -29,10 +29,6 @@ #include "swad_match.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_match_print.c b/swad_match_print.c index 92e14917..a6826b7e 100644 --- a/swad_match_print.c +++ b/swad_match_print.c @@ -38,22 +38,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_match_result.c b/swad_match_result.c index 8fce18ab..7687cc07 100644 --- a/swad_match_result.c +++ b/swad_match_result.c @@ -53,10 +53,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ @@ -67,14 +63,6 @@ struct MchRes_ICanView bool Score; }; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_match_result.h b/swad_match_result.h index bb3eadf1..1ed76d96 100644 --- a/swad_match_result.h +++ b/swad_match_result.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Public types and constants ***********************/ /*****************************************************************************/ diff --git a/swad_media_database.c b/swad_media_database.c index aa063222..55c22fe1 100644 --- a/swad_media_database.c +++ b/swad_media_database.c @@ -46,12 +46,6 @@ static const char *Med_DB_StrTypes[Med_NUM_TYPES] = [Med_EMBED ] = "embed", }; -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -extern struct Globals Gbl; - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_message.c b/swad_message.c index 2566275e..2bdb5da8 100644 --- a/swad_message.c +++ b/swad_message.c @@ -87,10 +87,6 @@ static const Pag_WhatPaginate_t Msg_WhatPaginate[Msg_NUM_TYPES_OF_MSGS] = [Msg_SENT ] = Pag_MESSAGES_SENT, }; -/*****************************************************************************/ -/******************************** Private types ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_message_database.c b/swad_message_database.c index 29e8cf0d..1c513da8 100644 --- a/swad_message_database.c +++ b/swad_message_database.c @@ -42,18 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Private types ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* Insert message subject and content in the database ************/ /*****************************************************************************/ diff --git a/swad_network.h b/swad_network.h index cb872bb4..374c3451 100644 --- a/swad_network.h +++ b/swad_network.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /***************************** Public constants ******************************/ /*****************************************************************************/ diff --git a/swad_nickname.c b/swad_nickname.c index e604b719..bb368922 100644 --- a/swad_nickname.c +++ b/swad_nickname.c @@ -44,14 +44,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_nickname.h b/swad_nickname.h index e31f191d..da06eee4 100644 --- a/swad_nickname.h +++ b/swad_nickname.h @@ -23,11 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Public types and constants ************************/ /*****************************************************************************/ diff --git a/swad_nickname_database.c b/swad_nickname_database.c index 6951bd6e..842dfc6f 100644 --- a/swad_nickname_database.c +++ b/swad_nickname_database.c @@ -28,26 +28,6 @@ #include "swad_database.h" #include "swad_nickname_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************* Update user's nickname in database **********************/ /*****************************************************************************/ diff --git a/swad_nickname_database.h b/swad_nickname_database.h index e71aa6c1..4bdcbac8 100644 --- a/swad_nickname_database.h +++ b/swad_nickname_database.h @@ -23,17 +23,12 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /********************************* Headers ***********************************/ /*****************************************************************************/ #include "swad_nickname.h" -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_notice_database.c b/swad_notice_database.c index 357c13bf..9a10aef5 100644 --- a/swad_notice_database.c +++ b/swad_notice_database.c @@ -36,14 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************* Insert a notice in the table of notices *****************/ /*****************************************************************************/ diff --git a/swad_pagination.c b/swad_pagination.c index 457455df..3547ed67 100644 --- a/swad_pagination.c +++ b/swad_pagination.c @@ -78,10 +78,6 @@ static const char *Pag_ParamNumPag[Pag_NUM_WHAT_PAGINATE] = [Pag_ANOTHER_AGENDA ] = "NumPagOthAgd", }; -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******* Calculate variables related to the pagination of the messages *******/ /*****************************************************************************/ diff --git a/swad_password.c b/swad_password.c index 7d28ec92..7f520d77 100644 --- a/swad_password.c +++ b/swad_password.c @@ -64,10 +64,6 @@ extern struct Globals Gbl; // and another user can not change his/her password to this #define Pwd_MAX_OTHER_USERS_USING_THE_SAME_PASSWORD 2 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_password.h b/swad_password.h index 225ac1f0..95001efd 100644 --- a/swad_password.h +++ b/swad_password.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Public types and constants ************************/ /*****************************************************************************/ diff --git a/swad_password_database.c b/swad_password_database.c index 4ee12d42..ba217013 100644 --- a/swad_password_database.c +++ b/swad_password_database.c @@ -41,22 +41,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Update my current pending password in database ***************/ /*****************************************************************************/ diff --git a/swad_password_database.h b/swad_password_database.h index b1eef06a..21eaad30 100644 --- a/swad_password_database.h +++ b/swad_password_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_photo_database.h b/swad_photo_database.h index 8ee3a46c..91b6c90d 100644 --- a/swad_photo_database.h +++ b/swad_photo_database.h @@ -32,10 +32,6 @@ #include "swad_cryptography.h" #include "swad_photo.h" -/*****************************************************************************/ -/************************* Public types and constants ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_place.c b/swad_place.c index 5e36dce5..997550f4 100644 --- a/swad_place.c +++ b/swad_place.c @@ -48,14 +48,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_place_database.c b/swad_place_database.c index 27daac7a..05c97a0d 100644 --- a/swad_place_database.c +++ b/swad_place_database.c @@ -35,22 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Create a new place *****************************/ /*****************************************************************************/ diff --git a/swad_place_database.h b/swad_place_database.h index 8284ee86..6cfa1f36 100644 --- a/swad_place_database.h +++ b/swad_place_database.h @@ -29,10 +29,6 @@ #include "swad_place.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_plugin.c b/swad_plugin.c index 1a82ebf9..fec6007a 100644 --- a/swad_plugin.c +++ b/swad_plugin.c @@ -55,14 +55,6 @@ TODO: Check if web service is called from an authorized IP. extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_plugin_database.c b/swad_plugin_database.c index 924c81e0..02b06382 100644 --- a/swad_plugin_database.c +++ b/swad_plugin_database.c @@ -28,26 +28,6 @@ #include "swad_database.h" #include "swad_plugin_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Create a new plugin ***************************/ /*****************************************************************************/ diff --git a/swad_privacy_visibility_type.h b/swad_privacy_visibility_type.h index c4b13d42..ada3740e 100644 --- a/swad_privacy_visibility_type.h +++ b/swad_privacy_visibility_type.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Public types and constants ************************/ /*****************************************************************************/ @@ -42,8 +38,4 @@ typedef enum Pri_VISIBILITY_WORLD = 4, // Public, visible to all people, even unlogged visitors } Pri_Visibility_t; -/*****************************************************************************/ -/***************************** Public prototypes *****************************/ -/*****************************************************************************/ - #endif diff --git a/swad_program.c b/swad_program.c index 1e6448a8..d4f51859 100644 --- a/swad_program.c +++ b/swad_program.c @@ -55,10 +55,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ diff --git a/swad_program_database.c b/swad_program_database.c index 03c20311..a6b7d086 100644 --- a/swad_program_database.c +++ b/swad_program_database.c @@ -35,22 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************** Create a new program item into database *******************/ /*****************************************************************************/ diff --git a/swad_program_database.h b/swad_program_database.h index c1ddfd70..558bff97 100644 --- a/swad_program_database.h +++ b/swad_program_database.h @@ -30,10 +30,6 @@ #include "swad_hierarchy_level.h" #include "swad_program.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_project_database.h b/swad_project_database.h index 89fdc09d..42a099b1 100644 --- a/swad_project_database.h +++ b/swad_project_database.h @@ -29,10 +29,6 @@ #include "swad_hierarchy_level.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_record_database.c b/swad_record_database.c index 39629a73..6976011f 100644 --- a/swad_record_database.c +++ b/swad_record_database.c @@ -28,18 +28,6 @@ #include "swad_database.h" #include "swad_record_database.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Create a field of record **************************/ /*****************************************************************************/ diff --git a/swad_role.h b/swad_role.h index 7a8ba84b..93896796 100644 --- a/swad_role.h +++ b/swad_role.h @@ -30,10 +30,6 @@ #include "swad_HTML.h" #include "swad_user.h" -/*****************************************************************************/ -/************************** Public constant and types ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_role_database.h b/swad_role_database.h index 690873a8..1c587462 100644 --- a/swad_role_database.h +++ b/swad_role_database.h @@ -29,10 +29,6 @@ #include "swad_role_type.h" -/*****************************************************************************/ -/************************** Public constant and types ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_room.c b/swad_room.c index 246c2b4f..3ba0df7a 100644 --- a/swad_room.c +++ b/swad_room.c @@ -80,10 +80,6 @@ static const char *Roo_TypesIcons[Roo_NUM_TYPES] = [Roo_YARD ] = "tree.svg", }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private variables *****************************/ /*****************************************************************************/ diff --git a/swad_room_database.h b/swad_room_database.h index ecc41920..9ee75c06 100644 --- a/swad_room_database.h +++ b/swad_room_database.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************** Headers **********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_session.c b/swad_session.c index 9c4070c6..19ccd6e7 100644 --- a/swad_session.c +++ b/swad_session.c @@ -40,10 +40,6 @@ #include "swad_session_database.h" #include "swad_timeline_database.h" -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ @@ -62,7 +58,6 @@ static void Ses_RemoveSessionFromDB (void); void Ses_GetNumSessions (void) { - /***** Get the number of open sessions from database *****/ Gbl.Session.NumSessions = (unsigned) DB_GetNumRowsTable ("ses_sessions"); Gbl.Usrs.Connected.TimeToRefreshInMs = (unsigned long) (Gbl.Session.NumSessions/ diff --git a/swad_session_database.c b/swad_session_database.c index b0a46682..df033a12 100644 --- a/swad_session_database.c +++ b/swad_session_database.c @@ -30,20 +30,12 @@ #include "swad_global.h" #include "swad_pagination.h" -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************** Insert new session in the database *********************/ /*****************************************************************************/ diff --git a/swad_setting.c b/swad_setting.c index 0bdbcbb9..f4ac426a 100644 --- a/swad_setting.c +++ b/swad_setting.c @@ -55,10 +55,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_statistic.c b/swad_statistic.c index be94af96..1f82aebb 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -92,10 +92,6 @@ static const unsigned Sta_CellPadding[Sta_NUM_CLICKS_GROUPED_BY] = #define Sta_STAT_RESULTS_SECTION_ID "stat_results" -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_statistic_database.c b/swad_statistic_database.c index 5b3818b4..5151777b 100644 --- a/swad_statistic_database.c +++ b/swad_statistic_database.c @@ -41,18 +41,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************** Compute and show access statistics ********************/ /*****************************************************************************/ diff --git a/swad_statistic_database.h b/swad_statistic_database.h index 4fc3645b..0976315a 100644 --- a/swad_statistic_database.h +++ b/swad_statistic_database.h @@ -31,10 +31,6 @@ #include "swad_statistic.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_string.c b/swad_string.c index 1a9dd576..c6ec49cb 100644 --- a/swad_string.c +++ b/swad_string.c @@ -48,10 +48,6 @@ extern struct Globals Gbl; // Declaration in swad.c -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Private prototypes ******************************/ /*****************************************************************************/ @@ -80,10 +76,6 @@ const char Str_BIN_TO_BASE64URL[64 + 1] = static const char Str_LF[2] = {10,0}; static const char Str_CR[2] = {13,0}; -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************** Insert a link in every URL or nickname *******************/ /*****************************************************************************/ diff --git a/swad_survey.c b/swad_survey.c index 656eef77..d4a27e4d 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -81,14 +81,6 @@ struct Svy_Question // Must be initialized to 0 before using it char ListAnsTypes[Svy_MAX_BYTES_LIST_ANSWER_TYPES + 1]; }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_survey_database.c b/swad_survey_database.c index 99f2381a..59783374 100644 --- a/swad_survey_database.c +++ b/swad_survey_database.c @@ -52,18 +52,6 @@ const char *Svy_DB_StrAnswerTypes[Svy_NUM_ANS_TYPES] = [Svy_ANS_MULTIPLE_CHOICE] = "multiple_choice", }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Create a new survey *****************************/ /*****************************************************************************/ diff --git a/swad_survey_database.h b/swad_survey_database.h index 288418b1..6fe60e32 100644 --- a/swad_survey_database.h +++ b/swad_survey_database.h @@ -32,10 +32,6 @@ #include "swad_constant.h" #include "swad_date.h" -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_syllabus.h b/swad_syllabus.h index 4fd4f3f6..95b46cd8 100644 --- a/swad_syllabus.h +++ b/swad_syllabus.h @@ -23,10 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************ Public constants and types *************************/ /*****************************************************************************/ diff --git a/swad_system_config.c b/swad_system_config.c index e992e5e3..a93cf585 100644 --- a/swad_system_config.c +++ b/swad_system_config.c @@ -47,22 +47,6 @@ #include "swad_role.h" #include "swad_system_config.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_system_config.h b/swad_system_config.h index 1f9f2309..e95c9e7b 100644 --- a/swad_system_config.h +++ b/swad_system_config.h @@ -23,14 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************** Public types and constants ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_tab.c b/swad_tab.c index 94551dc2..b0f8663b 100644 --- a/swad_tab.c +++ b/swad_tab.c @@ -38,18 +38,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Private constants ****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_text_action.c b/swad_text_action.c index 820c569c..9d200812 100644 --- a/swad_text_action.c +++ b/swad_text_action.c @@ -27,10 +27,6 @@ #include "swad_action.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Private global variables **************************/ /*****************************************************************************/ diff --git a/swad_theme.h b/swad_theme.h index a2f99c1a..746c3585 100644 --- a/swad_theme.h +++ b/swad_theme.h @@ -23,7 +23,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /***************************** Public constants ******************************/ /*****************************************************************************/ diff --git a/swad_timeline_favourite.h b/swad_timeline_favourite.h index 01415578..363ab33f 100644 --- a/swad_timeline_favourite.h +++ b/swad_timeline_favourite.h @@ -27,7 +27,7 @@ /************************ Public constants and types *************************/ /*****************************************************************************/ -#define Tml_Fav_ICON_FAV "heart.svg" +#define Tml_Fav_ICON_FAV "heart.svg" #define Tml_Fav_ICON_FAVED "heart-red.svg" /*****************************************************************************/ diff --git a/swad_timeline_form.c b/swad_timeline_form.c index 31e19a3d..20a136fe 100644 --- a/swad_timeline_form.c +++ b/swad_timeline_form.c @@ -21,7 +21,6 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ - /*****************************************************************************/ /*********************************** Headers *********************************/ /*****************************************************************************/ @@ -89,14 +88,6 @@ const Act_Action_t Tml_Frm_ActionUsr[Tml_Frm_NUM_ACTIONS] = extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************** Form to fav/unfav or share/unshare *********************/ /*****************************************************************************/ diff --git a/swad_timetable.c b/swad_timetable.c index 333b2697..778119a0 100644 --- a/swad_timetable.c +++ b/swad_timetable.c @@ -44,10 +44,6 @@ #include "swad_timetable.h" #include "swad_timetable_database.h" -/*****************************************************************************/ -/*************************** External constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_user.c b/swad_user.c index 170c4ecf..3f222272 100644 --- a/swad_user.c +++ b/swad_user.c @@ -141,10 +141,6 @@ static const char *Usr_ParamUsrCod[Rol_NUM_ROLES] = #define Usr_NUM_ALL_FIELDS_DATA_TCH 11 const char *Usr_UsrDatMainFieldNames[Usr_NUM_MAIN_FIELDS_DATA_USR]; -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_xml.c b/swad_xml.c index 39487cae..871217cf 100644 --- a/swad_xml.c +++ b/swad_xml.c @@ -42,18 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/