diff --git a/swad_API_database.h b/swad_API_database.h index dac39b01..91ad8894 100644 --- a/swad_API_database.h +++ b/swad_API_database.h @@ -31,14 +31,6 @@ #include "swad_API.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_HTML.c b/swad_HTML.c index 4b3f4f17..0a3bf159 100644 --- a/swad_HTML.c +++ b/swad_HTML.c @@ -40,18 +40,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private vatiables *****************************/ /*****************************************************************************/ diff --git a/swad_HTML.h b/swad_HTML.h index a0a99ba0..57cab1d6 100644 --- a/swad_HTML.h +++ b/swad_HTML.h @@ -29,10 +29,6 @@ #include // For boolean type -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************************* Public types ******************************/ /*****************************************************************************/ diff --git a/swad_MFU.c b/swad_MFU.c index 30d8fcce..6aca9acc 100644 --- a/swad_MFU.c +++ b/swad_MFU.c @@ -42,10 +42,6 @@ #include "swad_tab.h" #include "swad_theme.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -56,24 +52,12 @@ #define MFU_MAX_CHARS_MENU (128 - 1) // 127 #define MFU_MAX_BYTES_MENU ((MFU_MAX_CHARS_MENU + 1) * Str_MAX_BYTES_PER_CHAR - 1) // 2047 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Allocate list of most frequently used actions ****************/ /*****************************************************************************/ diff --git a/swad_MFU.h b/swad_MFU.h index d830a371..59680c8d 100644 --- a/swad_MFU.h +++ b/swad_MFU.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 *****************************/ /*****************************************************************************/ diff --git a/swad_MFU_database.c b/swad_MFU_database.c index d3ff29ee..2ca26695 100644 --- a/swad_MFU_database.c +++ b/swad_MFU_database.c @@ -30,32 +30,12 @@ #include "swad_MFU.h" #include "swad_MFU_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************** Update score for the current action ********************/ /*****************************************************************************/ diff --git a/swad_MFU_database.h b/swad_MFU_database.h index d3677b01..3945c880 100644 --- a/swad_MFU_database.h +++ b/swad_MFU_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_QR.c b/swad_QR.c index ade87638..80e956a5 100644 --- a/swad_QR.c +++ b/swad_QR.c @@ -37,10 +37,6 @@ #include "swad_parameter.h" #include "swad_QR.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -48,24 +44,12 @@ #define QR_CODE_SIZE ((6 + 25 + 6) * 8) #define QR_DEFAULT_TYPE QR_ID -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************** Put a link to a print view of a QR code *******************/ /*****************************************************************************/ diff --git a/swad_QR.h b/swad_QR.h index 8a148394..b776179e 100644 --- a/swad_QR.h +++ b/swad_QR.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_RSS.h b/swad_RSS.h index 5e63d1e4..27240802 100644 --- a/swad_RSS.h +++ b/swad_RSS.h @@ -23,17 +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 *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ /*****************************************************************************/ /***************************** Public prototypes *****************************/ diff --git a/swad_account.c b/swad_account.c index fcc7e9a5..3d3c168d 100644 --- a/swad_account.c +++ b/swad_account.c @@ -73,28 +73,12 @@ #include "swad_timeline.h" #include "swad_user_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_account.h b/swad_account.h index dfec06b9..00d1e911 100644 --- a/swad_account.h +++ b/swad_account.h @@ -32,10 +32,6 @@ #include "swad_constant.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_account_database.c b/swad_account_database.c index ad04e3b9..42188ed1 100644 --- a/swad_account_database.c +++ b/swad_account_database.c @@ -31,32 +31,12 @@ #include "swad_database.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************** Check if there are users with this user's ID ****************/ /*****************************************************************************/ diff --git a/swad_account_database.h b/swad_account_database.h index 7c1130d6..a568903e 100644 --- a/swad_account_database.h +++ b/swad_account_database.h @@ -32,14 +32,6 @@ #include "swad_ID.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_admin.c b/swad_admin.c index dfdee8f2..80aa2efb 100644 --- a/swad_admin.c +++ b/swad_admin.c @@ -50,25 +50,12 @@ const bool Adm_ICanAdminOtherUsrs[Rol_NUM_ROLES] = [Rol_SYS_ADM] = true, }; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_admin.h b/swad_admin.h index 6fbc1451..b9617336 100644 --- a/swad_admin.h +++ b/swad_admin.h @@ -31,14 +31,6 @@ #include "swad_enrolment.h" #include "swad_hierarchy.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_admin_database.c b/swad_admin_database.c index 32f62838..80007bcf 100644 --- a/swad_admin_database.c +++ b/swad_admin_database.c @@ -31,32 +31,12 @@ #include "swad_error.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /** Insert/replace user as administrator of an institution, center or degree */ /*****************************************************************************/ diff --git a/swad_admin_database.h b/swad_admin_database.h index c018303a..a65b5e07 100644 --- a/swad_admin_database.h +++ b/swad_admin_database.h @@ -29,14 +29,6 @@ #include "swad_hierarchy.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_alert.c b/swad_alert.c index ac9ba7b1..a89e96d9 100644 --- a/swad_alert.c +++ b/swad_alert.c @@ -44,18 +44,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_announcement.c b/swad_announcement.c index 95132f09..4bcb3256 100644 --- a/swad_announcement.c +++ b/swad_announcement.c @@ -36,28 +36,12 @@ #include "swad_parameter.h" #include "swad_role.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_announcement.h b/swad_announcement.h index 9616b919..e4924e29 100644 --- a/swad_announcement.h +++ b/swad_announcement.h @@ -23,13 +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 ******************************/ -/*****************************************************************************/ /*****************************************************************************/ /******************************* Public types ********************************/ diff --git a/swad_announcement_database.c b/swad_announcement_database.c index 0df5657a..3f2fccad 100644 --- a/swad_announcement_database.c +++ b/swad_announcement_database.c @@ -30,32 +30,12 @@ #include "swad_database.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Select all announcements *************************/ /*****************************************************************************/ diff --git a/swad_announcement_database.h b/swad_announcement_database.h index 67994433..64eee5d3 100644 --- a/swad_announcement_database.h +++ b/swad_announcement_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_box.c b/swad_box.c index b1e720c9..40fa9fb0 100644 --- a/swad_box.c +++ b/swad_box.c @@ -42,22 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_browser_database.c b/swad_browser_database.c index d04d7b24..4265b063 100644 --- a/swad_browser_database.c +++ b/swad_browser_database.c @@ -41,14 +41,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ diff --git a/swad_browser_database.h b/swad_browser_database.h index 497140ab..c192190c 100644 --- a/swad_browser_database.h +++ b/swad_browser_database.h @@ -32,14 +32,6 @@ #include "swad_browser.h" #include "swad_search.h" -/*****************************************************************************/ -/************************ Public types and constants *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_button.c b/swad_button.c index 6e50c5c8..df116a7a 100644 --- a/swad_button.c +++ b/swad_button.c @@ -29,26 +29,6 @@ #include "swad_global.h" #include "swad_HTML.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************** Put a button to submit a form ************************/ /*****************************************************************************/ diff --git a/swad_button.h b/swad_button.h index e68e93e7..edd1c822 100644 --- a/swad_button.h +++ b/swad_button.h @@ -23,13 +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 *****************************/ -/*****************************************************************************/ /*****************************************************************************/ /********************************* Public types ******************************/ diff --git a/swad_calendar.h b/swad_calendar.h index a9ec8bf3..dc5b2adf 100644 --- a/swad_calendar.h +++ b/swad_calendar.h @@ -35,10 +35,6 @@ #define Cal_FIRST_DAY_OF_WEEK_DEFAULT 0 // Monday -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_changelog.h b/swad_changelog.h index b142d1fc..848f4b17 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.54.8 (2021-11-09)" +#define Log_PLATFORM_VERSION "SWAD 21.55 (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.54.8: Nov 09, 2021 Queries moved from API module to database modules. (322175 lines) + Version 21.55: Nov 07, 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) Version 21.54.5: Nov 09, 2021 Queries moved from API module to database modules. (322185 lines) diff --git a/swad_chat.h b/swad_chat.h index 3550eaa4..a2ae737a 100644 --- a/swad_chat.h +++ b/swad_chat.h @@ -23,17 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ /*****************************************************************************/ /***************************** Public prototypes *****************************/ diff --git a/swad_chat_database.h b/swad_chat_database.h index a7d9ee48..851e7910 100644 --- a/swad_chat_database.h +++ b/swad_chat_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_config.c b/swad_config.c index 562d9090..6c9bcc8d 100644 --- a/swad_config.c +++ b/swad_config.c @@ -36,32 +36,12 @@ #include "swad_layout.h" #include "swad_string.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************* Get SMTP password from config file **********************/ /*****************************************************************************/ diff --git a/swad_connected_database.h b/swad_connected_database.h index ba2ecd30..e4edeea1 100644 --- a/swad_connected_database.h +++ b/swad_connected_database.h @@ -29,14 +29,6 @@ #include "swad_role.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_cookie.c b/swad_cookie.c index ea901b1e..236e6c51 100644 --- a/swad_cookie.c +++ b/swad_cookie.c @@ -42,14 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_cookie_database.c b/swad_cookie_database.c index f670cf30..19c653dd 100644 --- a/swad_cookie_database.c +++ b/swad_cookie_database.c @@ -38,18 +38,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Update my settings about third party cookies *****************/ /*****************************************************************************/ diff --git a/swad_course.c b/swad_course.c index 5d02285e..722c6938 100644 --- a/swad_course.c +++ b/swad_course.c @@ -75,14 +75,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private variables ******************************/ /*****************************************************************************/ diff --git a/swad_course_config.c b/swad_course_config.c index 477d93ce..ced5c138 100644 --- a/swad_course_config.c +++ b/swad_course_config.c @@ -51,18 +51,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private variables ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_course_config.h b/swad_course_config.h index ef8e2b20..d47b5c5e 100644 --- a/swad_course_config.h +++ b/swad_course_config.h @@ -29,14 +29,6 @@ #include // For boolean type -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_course_database.c b/swad_course_database.c index 9a7f80c8..744dbd7c 100644 --- a/swad_course_database.c +++ b/swad_course_database.c @@ -42,22 +42,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private variables ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private prototypes *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* Add a new requested course to pending requests ****************/ /*****************************************************************************/ diff --git a/swad_course_database.h b/swad_course_database.h index 8e07d06c..12df80c2 100644 --- a/swad_course_database.h +++ b/swad_course_database.h @@ -31,14 +31,6 @@ #include "swad_course.h" #include "swad_role.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_cryptography.c b/swad_cryptography.c index 6b2d23e8..49bdde51 100644 --- a/swad_cryptography.c +++ b/swad_cryptography.c @@ -33,18 +33,6 @@ #include "swad_cryptography.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_cryptography.h b/swad_cryptography.h index 127e4b9d..52f4b13e 100644 --- a/swad_cryptography.h +++ b/swad_cryptography.h @@ -34,7 +34,7 @@ /********************************* Headers ***********************************/ /*****************************************************************************/ -#include // For FILE +#include // For FILE #include "sha2/sha2.h" // For sha-256 and sha-512 algorithms diff --git a/swad_degree.c b/swad_degree.c index d28a325e..8ad308cf 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -57,10 +57,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private types *********************************/ /*****************************************************************************/ diff --git a/swad_degree_config.c b/swad_degree_config.c index ec02dcd6..a19f1291 100644 --- a/swad_degree_config.c +++ b/swad_degree_config.c @@ -45,18 +45,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private variables ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_degree_config.h b/swad_degree_config.h index a4887741..4aefe665 100644 --- a/swad_degree_config.h +++ b/swad_degree_config.h @@ -23,17 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ /*****************************************************************************/ /***************************** Public prototypes *****************************/ diff --git a/swad_degree_database.c b/swad_degree_database.c index aa03b841..0717b96f 100644 --- a/swad_degree_database.c +++ b/swad_degree_database.c @@ -37,22 +37,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private variables ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Private prototypes ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************** Create a new degree type *************************/ /*****************************************************************************/ diff --git a/swad_degree_database.h b/swad_degree_database.h index 260e8d3e..72964a14 100644 --- a/swad_degree_database.h +++ b/swad_degree_database.h @@ -33,14 +33,6 @@ #include "swad_degree_type.h" #include "swad_search.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_degree_type.c b/swad_degree_type.c index a034aa79..fc9f470c 100644 --- a/swad_degree_type.c +++ b/swad_degree_type.c @@ -52,14 +52,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/**************************** Public constants *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Private variables ******************************/ /*****************************************************************************/ diff --git a/swad_duplicate.c b/swad_duplicate.c index 47f86992..fd6cfd7b 100644 --- a/swad_duplicate.c +++ b/swad_duplicate.c @@ -41,28 +41,12 @@ #include "swad_role_type.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_duplicate.h b/swad_duplicate.h index cae353ce..5377abbb 100644 --- a/swad_duplicate.h +++ b/swad_duplicate.h @@ -23,18 +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 *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_duplicate_database.c b/swad_duplicate_database.c index 17119f12..27f21a40 100644 --- a/swad_duplicate_database.c +++ b/swad_duplicate_database.c @@ -28,32 +28,12 @@ #include "swad_database.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************* Get list of possible duplicate users ********************/ /*****************************************************************************/ diff --git a/swad_duplicate_database.h b/swad_duplicate_database.h index e0c5140e..7052e926 100644 --- a/swad_duplicate_database.h +++ b/swad_duplicate_database.h @@ -29,14 +29,6 @@ #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_enrolment.c b/swad_enrolment.c index b483ea03..cfe951a9 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -68,14 +68,6 @@ #include "swad_user.h" #include "swad_user_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ diff --git a/swad_enrolment.h b/swad_enrolment.h index d93dc905..9c6e41df 100644 --- a/swad_enrolment.h +++ b/swad_enrolment.h @@ -31,10 +31,6 @@ #include "swad_notification.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_enrolment_database.c b/swad_enrolment_database.c index 3c5a2880..ca9a55ba 100644 --- a/swad_enrolment_database.c +++ b/swad_enrolment_database.c @@ -31,32 +31,12 @@ #include "swad_error.h" #include "swad_global.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************** Register user in current course in database *****************/ /*****************************************************************************/ diff --git a/swad_enrolment_database.h b/swad_enrolment_database.h index 24b59dde..d1c89123 100644 --- a/swad_enrolment_database.h +++ b/swad_enrolment_database.h @@ -30,14 +30,6 @@ #include "swad_enrolment.h" #include "swad_hierarchy.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_error.c b/swad_error.c index 376ae145..b270f883 100644 --- a/swad_error.c +++ b/swad_error.c @@ -40,22 +40,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********** Write error message and exit when not enough memory **************/ /*****************************************************************************/ diff --git a/swad_error.h b/swad_error.h index 76658768..cf113a15 100644 --- a/swad_error.h +++ b/swad_error.h @@ -23,18 +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 *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/********************************* Public types ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_follow.c b/swad_follow.c index 1c0260e5..0d739106 100644 --- a/swad_follow.c +++ b/swad_follow.c @@ -44,10 +44,6 @@ #include "swad_profile.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -56,20 +52,12 @@ #define Fol_FOLLOW_SECTION_ID "follow_section" -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_follow.h b/swad_follow.h index e8c4fad6..f25085a2 100644 --- a/swad_follow.h +++ b/swad_follow.h @@ -29,10 +29,6 @@ #include "swad_notification.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_follow_database.c b/swad_follow_database.c index daaf0ba4..a81c2c70 100644 --- a/swad_follow_database.c +++ b/swad_follow_database.c @@ -32,10 +32,6 @@ #include "swad_global.h" #include "swad_hierarchy_level.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -46,24 +42,12 @@ static const char *FieldDB[2] = "FollowerCod" }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*************************** Get users to follow *****************************/ /*****************************************************************************/ diff --git a/swad_follow_database.h b/swad_follow_database.h index bfba3bc5..c7a62302 100644 --- a/swad_follow_database.h +++ b/swad_follow_database.h @@ -29,14 +29,6 @@ #include "swad_follow.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_form.h b/swad_form.h index b6d10710..260dccd6 100644 --- a/swad_form.h +++ b/swad_form.h @@ -42,10 +42,6 @@ #define Frm_MAX_BYTES_PARAM_LOCATION 256 #define Frm_MAX_BYTES_PARAMS_STR (Frm_MAX_BYTES_PARAM_ACTION + Frm_MAX_BYTES_PARAM_SESSION + Frm_MAX_BYTES_PARAM_LOCATION) -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_forum_database.c b/swad_forum_database.c index 7c615606..8d28ef0e 100644 --- a/swad_forum_database.c +++ b/swad_forum_database.c @@ -39,18 +39,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/************************ Public constants and types *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*********************** Private constants and types *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************* Get number of threads in a forum ************************/ /*****************************************************************************/ diff --git a/swad_forum_database.h b/swad_forum_database.h index 1ee0355c..ae914cf2 100644 --- a/swad_forum_database.h +++ b/swad_forum_database.h @@ -29,10 +29,6 @@ #include "swad_forum.h" -/*****************************************************************************/ -/************************ Public constants and types *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_global.h b/swad_global.h index a7e95727..d8d9efcb 100644 --- a/swad_global.h +++ b/swad_global.h @@ -61,10 +61,6 @@ #include "swad_session.h" #include "swad_setting.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_group_database.h b/swad_group_database.h index 7568376b..9dc1112c 100644 --- a/swad_group_database.h +++ b/swad_group_database.h @@ -29,14 +29,6 @@ #include "swad_group.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Public prototypes ******************************/ /*****************************************************************************/ diff --git a/swad_help.c b/swad_help.c index aa12607d..ceb0e4ef 100644 --- a/swad_help.c +++ b/swad_help.c @@ -35,28 +35,12 @@ #include "swad_HTML.h" #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_help.h b/swad_help.h index 4f53ea7a..be4b1f64 100644 --- a/swad_help.h +++ b/swad_help.h @@ -23,20 +23,12 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************** Headers **********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ #define Hlp_WIKI "https://github.com/acanas/swad-core/wiki/" -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_hierarchy.c b/swad_hierarchy.c index c844de7f..474c4b71 100644 --- a/swad_hierarchy.c +++ b/swad_hierarchy.c @@ -47,22 +47,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Private constants *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Private prototypes ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********** List pending institutions, centers, degrees and courses **********/ /*****************************************************************************/ diff --git a/swad_hierarchy.h b/swad_hierarchy.h index 9123f339..b3f0c964 100644 --- a/swad_hierarchy.h +++ b/swad_hierarchy.h @@ -33,10 +33,6 @@ #include "swad_degree.h" #include "swad_institution.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_hierarchy_config.c b/swad_hierarchy_config.c index 9e880b36..4c8d5dd6 100644 --- a/swad_hierarchy_config.c +++ b/swad_hierarchy_config.c @@ -38,22 +38,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private prototypes *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************ Show title in configuration ************************/ /*****************************************************************************/ diff --git a/swad_hierarchy_config.h b/swad_hierarchy_config.h index 69a07d77..44fe2e6b 100644 --- a/swad_hierarchy_config.h +++ b/swad_hierarchy_config.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_hierarchy_database.c b/swad_hierarchy_database.c index db28c066..500857c7 100644 --- a/swad_hierarchy_database.c +++ b/swad_hierarchy_database.c @@ -30,26 +30,6 @@ #include "swad_hierarchy_level.h" #include "swad_scope.h" -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Public constants ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private types *********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Private constants *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/*************************** Private prototypes ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****** Get institutions, centers and degrees administrated by an admin *****/ /*****************************************************************************/ diff --git a/swad_hierarchy_database.h b/swad_hierarchy_database.h index 31235ec1..77bd413a 100644 --- a/swad_hierarchy_database.h +++ b/swad_hierarchy_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_hierarchy_level.h b/swad_hierarchy_level.h index e458e38a..06cf515d 100644 --- a/swad_hierarchy_level.h +++ b/swad_hierarchy_level.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 constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ @@ -48,8 +40,4 @@ typedef enum HieLvl_CRS = 6, // Course } HieLvl_Level_t; -/*****************************************************************************/ -/***************************** Public prototypes *****************************/ -/*****************************************************************************/ - #endif diff --git a/swad_icon.h b/swad_icon.h index a19fbad5..ea3d3402 100644 --- a/swad_icon.h +++ b/swad_icon.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 ******************************/ /*****************************************************************************/ diff --git a/swad_info.c b/swad_info.c index 78324d76..c22386a2 100644 --- a/swad_info.c +++ b/swad_info.c @@ -67,10 +67,6 @@ const Act_Action_t Inf_ActionsSeeInfo[Inf_NUM_TYPES] = [Inf_ASSESSMENT ] = ActSeeAss, }; -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ diff --git a/swad_info.h b/swad_info.h index 72b1eddb..29972ef4 100644 --- a/swad_info.h +++ b/swad_info.h @@ -32,10 +32,6 @@ #include "swad_constant.h" #include "swad_syllabus.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_info_database.c b/swad_info_database.c index ee09c7d7..69318561 100644 --- a/swad_info_database.c +++ b/swad_info_database.c @@ -36,14 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ diff --git a/swad_info_database.h b/swad_info_database.h index 5edbeb79..a9ef7626 100644 --- a/swad_info_database.h +++ b/swad_info_database.h @@ -29,14 +29,6 @@ #include "swad_info.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_language.c b/swad_language.c index 95f29ecd..c338016e 100644 --- a/swad_language.c +++ b/swad_language.c @@ -59,10 +59,6 @@ const char *Lan_STR_LANG_ID[1 + Lan_NUM_LANGUAGES] = // ISO 639-1 language codes [Lan_LANGUAGE_PT ] = "pt", }; -/*****************************************************************************/ -/****************************** Private constants ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Private prototypes ***************************/ /*****************************************************************************/ diff --git a/swad_language.h b/swad_language.h index ef5ab152..a74c723a 100644 --- a/swad_language.h +++ b/swad_language.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 ******************************/ /*****************************************************************************/ diff --git a/swad_layout.c b/swad_layout.c index 6d157737..68f49498 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -73,18 +73,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_layout.h b/swad_layout.h index 34398b39..a117a072 100644 --- a/swad_layout.h +++ b/swad_layout.h @@ -38,10 +38,6 @@ #define Lay_SHOW_LEFT_COLUMN 2 // 10 #define Lay_SHOW_BOTH_COLUMNS (Lay_SHOW_LEFT_COLUMN | Lay_SHOW_RIGHT_COLUMN) // 11 -/*****************************************************************************/ -/********************************* Public types ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_log.c b/swad_log.c index da4cfdc1..d0f74599 100644 --- a/swad_log.c +++ b/swad_log.c @@ -46,32 +46,12 @@ #include "swad_role.h" #include "swad_statistic.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Log access in database *************************/ /*****************************************************************************/ diff --git a/swad_log.h b/swad_log.h index 88da2672..c70c9f7a 100644 --- a/swad_log.h +++ b/swad_log.h @@ -23,20 +23,12 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -/*****************************************************************************/ -/********************************* Headers ***********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public constants ******************************/ /*****************************************************************************/ #define Log_SECONDS_IN_RECENT_LOG ((time_t) (Cfg_DAYS_IN_RECENT_LOG * 24UL * 60UL * 60UL)) // Remove entries in recent log oldest than this time -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_log_database.c b/swad_log_database.c index cd928b55..8e0663e5 100644 --- a/swad_log_database.c +++ b/swad_log_database.c @@ -30,32 +30,12 @@ #include "swad_global.h" #include "swad_log.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*********************** Log access in historical log ************************/ /*****************************************************************************/ diff --git a/swad_log_database.h b/swad_log_database.h index 4e02d6bf..cd34c456 100644 --- a/swad_log_database.h +++ b/swad_log_database.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_logo.c b/swad_logo.c index 8cae614e..58c1ea53 100644 --- a/swad_logo.c +++ b/swad_logo.c @@ -41,28 +41,12 @@ #include "swad_scope.h" #include "swad_theme.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_logo.h b/swad_logo.h index 2c21aced..a1b30de1 100644 --- a/swad_logo.h +++ b/swad_logo.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_media.c b/swad_media.c index 53afa7b4..a3fddbd6 100644 --- a/swad_media.c +++ b/swad_media.c @@ -49,10 +49,6 @@ #include "swad_media.h" #include "swad_media_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -102,10 +98,6 @@ struct MediaUploader extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_media_database.c b/swad_media_database.c index b142d6b5..aa063222 100644 --- a/swad_media_database.c +++ b/swad_media_database.c @@ -30,10 +30,6 @@ #include "swad_database.h" #include "swad_media.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -50,20 +46,12 @@ static const char *Med_DB_StrTypes[Med_NUM_TYPES] = [Med_EMBED ] = "embed", }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_media_database.h b/swad_media_database.h index 31984254..c16dee4f 100644 --- a/swad_media_database.h +++ b/swad_media_database.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_menu.h b/swad_menu.h index 8ca7fbf3..d0a592b5 100644 --- a/swad_menu.h +++ b/swad_menu.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 ******************************/ /*****************************************************************************/ diff --git a/swad_message_database.h b/swad_message_database.h index 68a867e5..6a25faf1 100644 --- a/swad_message_database.h +++ b/swad_message_database.h @@ -38,10 +38,6 @@ #define Msg_DB_MAX_BYTES_MESSAGES_QUERY (4 * 1024 - 1) -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_network.h b/swad_network.h index 721c99af..cb872bb4 100644 --- a/swad_network.h +++ b/swad_network.h @@ -23,9 +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 ******************************/ diff --git a/swad_network_database.h b/swad_network_database.h index 3ce5018c..5d4f5ea4 100644 --- a/swad_network_database.h +++ b/swad_network_database.h @@ -29,14 +29,6 @@ #include "swad_constant.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_notice.h b/swad_notice.h index 71211807..0e0951e6 100644 --- a/swad_notice.h +++ b/swad_notice.h @@ -29,10 +29,6 @@ #include "swad_statistic.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_notice_database.h b/swad_notice_database.h index d6e9a97f..65a646fc 100644 --- a/swad_notice_database.h +++ b/swad_notice_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_notification_database.c b/swad_notification_database.c index 5cecebc9..f69d0cb7 100644 --- a/swad_notification_database.c +++ b/swad_notification_database.c @@ -36,18 +36,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Store a notify event to one user into database ***************/ /*****************************************************************************/ diff --git a/swad_notification_database.h b/swad_notification_database.h index 3b260ff6..2bc5a044 100644 --- a/swad_notification_database.h +++ b/swad_notification_database.h @@ -30,14 +30,6 @@ #include "swad_browser.h" #include "swad_notification.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_parameter.c b/swad_parameter.c index 40f692e7..48dcadc6 100644 --- a/swad_parameter.c +++ b/swad_parameter.c @@ -53,14 +53,6 @@ extern struct Globals Gbl; const char *Par_SEPARATOR_PARAM_MULTIPLE = "\x0a"; // Must be 1 <= character <= 31 -/*****************************************************************************/ -/*********************** Private types and constants *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private variables ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_photo.c b/swad_photo.c index 89a8a362..1aec6b21 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -66,10 +66,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -85,14 +81,6 @@ static const char *Pho_StrAvgPhotoPrograms[Pho_NUM_AVERAGE_PHOTO_TYPES] = Cfg_COMMAND_DEGREE_PHOTO_AVERAGE, }; -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_photo_database.c b/swad_photo_database.c index f32fa222..939a98ea 100644 --- a/swad_photo_database.c +++ b/swad_photo_database.c @@ -35,26 +35,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************** Clear photo name of an user in database ******************/ /*****************************************************************************/ diff --git a/swad_plugin.h b/swad_plugin.h index 281388c4..28f9cd06 100644 --- a/swad_plugin.h +++ b/swad_plugin.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 *****************************/ /*****************************************************************************/ diff --git a/swad_plugin_database.h b/swad_plugin_database.h index 02b3648d..9125f10b 100644 --- a/swad_plugin_database.h +++ b/swad_plugin_database.h @@ -31,14 +31,6 @@ #include "swad_plugin.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_profile.c b/swad_profile.c index cc5db123..69400e4d 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -67,28 +67,12 @@ #include "swad_user.h" #include "swad_user_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_profile.h b/swad_profile.h index 3a829d7b..94c3a8ad 100644 --- a/swad_profile.h +++ b/swad_profile.h @@ -31,10 +31,6 @@ #include "swad_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_profile_database.c b/swad_profile_database.c index efc9ddd9..4ab24070 100644 --- a/swad_profile_database.c +++ b/swad_profile_database.c @@ -30,32 +30,12 @@ #include "swad_global.h" #include "swad_profile_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Create user's figures **************************/ /*****************************************************************************/ diff --git a/swad_profile_database.h b/swad_profile_database.h index a291b27c..484535c4 100644 --- a/swad_profile_database.h +++ b/swad_profile_database.h @@ -29,14 +29,6 @@ #include "swad_profile.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_project_database.c b/swad_project_database.c index 90ac4d52..a0a65585 100644 --- a/swad_project_database.c +++ b/swad_project_database.c @@ -52,18 +52,6 @@ const char *Prj_Proposal_DB[Prj_NUM_PROPOSAL_TYPES] = [Prj_PROPOSAL_UNMODIFIED] = "unmodified", }; -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************ Update configuration of projects for current course ************/ /*****************************************************************************/ diff --git a/swad_question.c b/swad_question.c index 23ab2771..4187fc8f 100644 --- a/swad_question.c +++ b/swad_question.c @@ -68,24 +68,12 @@ const char *Qst_StrAnswerTypesXML[Qst_NUM_ANS_TYPES] = #define Qst_IMAGE_SAVED_MAX_HEIGHT 768 #define Qst_IMAGE_SAVED_QUALITY 90 // 1 to 100 -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Test constructor ******************************/ /*****************************************************************************/ diff --git a/swad_question_database.c b/swad_question_database.c index a1d035a1..3728cc38 100644 --- a/swad_question_database.c +++ b/swad_question_database.c @@ -53,24 +53,12 @@ const char *Qst_DB_StrAnswerTypes[Qst_NUM_ANS_TYPES] = #define Qst_MAX_BYTES_QUERY_QUESTIONS (16 * 1024 - 1) -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*********** Insert or update question in the table of questions *************/ /*****************************************************************************/ diff --git a/swad_question_database.h b/swad_question_database.h index 3d8be02e..08afb0a2 100644 --- a/swad_question_database.h +++ b/swad_question_database.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_question_import.c b/swad_question_import.c index 47ce97fb..ad9894af 100644 --- a/swad_question_import.c +++ b/swad_question_import.c @@ -41,28 +41,12 @@ #include "swad_test.h" #include "swad_xml.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_question_import.h b/swad_question_import.h index d4647b23..3a937e88 100644 --- a/swad_question_import.h +++ b/swad_question_import.h @@ -29,14 +29,6 @@ #include "swad_test.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_question_type.h b/swad_question_type.h index 33690011..99a9ad8e 100644 --- a/swad_question_type.h +++ b/swad_question_type.h @@ -59,8 +59,4 @@ typedef enum #define Qst_MAX_CHARS_ANSWERS_ONE_QST (128 - 1) // 127 #define Qst_MAX_BYTES_ANSWERS_ONE_QST ((Qst_MAX_CHARS_ANSWERS_ONE_QST + 1) * Str_MAX_BYTES_PER_CHAR - 1) // 2047 -/*****************************************************************************/ -/***************************** Public prototypes *****************************/ -/*****************************************************************************/ - #endif diff --git a/swad_record_database.h b/swad_record_database.h index 6695c91e..c44efba6 100644 --- a/swad_record_database.h +++ b/swad_record_database.h @@ -29,14 +29,6 @@ #include "swad_record.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_report.c b/swad_report.c index b9171976..9e702586 100644 --- a/swad_report.c +++ b/swad_report.c @@ -44,10 +44,6 @@ #include "swad_report_database.h" #include "swad_tab.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -66,20 +62,12 @@ // #define Rep_BLOCK "▪" // HTML code for a block in graphic bar #define Rep_BLOCK "-" -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_report.h b/swad_report.h index f4a87fe0..1ed56d83 100644 --- a/swad_report.h +++ b/swad_report.h @@ -30,10 +30,6 @@ #include "swad_constant.h" #include "swad_profile.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_report_database.c b/swad_report_database.c index 244e91d1..cfc48dcf 100644 --- a/swad_report_database.c +++ b/swad_report_database.c @@ -29,32 +29,6 @@ #include "swad_report.h" #include "swad_report_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -// extern struct Globals Gbl; - -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Insert a new user's usage report into database ***************/ /*****************************************************************************/ diff --git a/swad_report_database.h b/swad_report_database.h index ebda1da3..356f7d8e 100644 --- a/swad_report_database.h +++ b/swad_report_database.h @@ -30,14 +30,6 @@ #include "swad_cryptography.h" #include "swad_report.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_role.c b/swad_role.c index 7e274a4a..2b283551 100644 --- a/swad_role.c +++ b/swad_role.c @@ -57,28 +57,12 @@ const char *Rol_Icons[Rol_NUM_ROLES] = [Rol_SYS_ADM] = "user-tie.svg", }; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Set my roles ********************************/ /*****************************************************************************/ diff --git a/swad_role_database.c b/swad_role_database.c index e3caf927..587ffaef 100644 --- a/swad_role_database.c +++ b/swad_role_database.c @@ -27,30 +27,6 @@ #include "swad_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************* Update the role of a user in the current course ***************/ /*****************************************************************************/ diff --git a/swad_role_type.h b/swad_role_type.h index 4ee359b1..3683f80c 100644 --- a/swad_role_type.h +++ b/swad_role_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 constants and types ************************/ /*****************************************************************************/ diff --git a/swad_room_database.c b/swad_room_database.c index 458545e7..75c37499 100644 --- a/swad_room_database.c +++ b/swad_room_database.c @@ -68,22 +68,6 @@ const char *Roo_TypesDB[Roo_NUM_TYPES] = [Roo_YARD ] = "yard", }; -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private variables *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************************** Create a new room ******************************/ /*****************************************************************************/ diff --git a/swad_scope.c b/swad_scope.c index 3af20a4b..ce4225d5 100644 --- a/swad_scope.c +++ b/swad_scope.c @@ -34,32 +34,12 @@ #include "swad_parameter.h" #include "swad_scope.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /** Put a selector to choice between ranges when getting users for listing ***/ /*****************************************************************************/ @@ -79,97 +59,97 @@ void Sco_PutSelectorScope (const char *ParamName,HTM_SubmitOnChange_t SubmitOnCh HTM_SELECT_Begin (SubmitOnChange, "id=\"%s\" name=\"%s\"",ParamName,ParamName); - for (Scope = (HieLvl_Level_t) 0; - Scope <= (HieLvl_Level_t) (HieLvl_NUM_LEVELS - 1); - Scope++) - if ((Gbl.Scope.Allowed & (1 << Scope))) - { - /* Don't put forbidden options in selectable list */ - WriteScope = false; - switch (Scope) + for (Scope = (HieLvl_Level_t) 0; + Scope <= (HieLvl_Level_t) (HieLvl_NUM_LEVELS - 1); + Scope++) + if ((Gbl.Scope.Allowed & (1 << Scope))) { - case HieLvl_SYS: - WriteScope = true; - break; - case HieLvl_CTY: - if (Gbl.Hierarchy.Cty.CtyCod > 0) - WriteScope = true; - break; - case HieLvl_INS: - if (Gbl.Hierarchy.Ins.InsCod > 0) - WriteScope = true; - break; - case HieLvl_CTR: - if (Gbl.Hierarchy.Ctr.CtrCod > 0) - WriteScope = true; - break; - case HieLvl_DEG: - if (Gbl.Hierarchy.Deg.DegCod > 0) - WriteScope = true; - break; - case HieLvl_CRS: - if (Gbl.Hierarchy.Level == HieLvl_CRS) - WriteScope = true; - break; - default: - Err_WrongScopeExit (); - break; - } - - if (WriteScope) - { - /***** Write allowed option *****/ - ScopeUnsigned = (unsigned) Scope; + /* Don't put forbidden options in selectable list */ + WriteScope = false; switch (Scope) { case HieLvl_SYS: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_System, - Cfg_PLATFORM_SHORT_NAME); + WriteScope = true; break; case HieLvl_CTY: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_Country, - Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]); + if (Gbl.Hierarchy.Cty.CtyCod > 0) + WriteScope = true; break; case HieLvl_INS: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_Institution, - Gbl.Hierarchy.Ins.ShrtName); + if (Gbl.Hierarchy.Ins.InsCod > 0) + WriteScope = true; break; case HieLvl_CTR: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_Center, - Gbl.Hierarchy.Ctr.ShrtName); + if (Gbl.Hierarchy.Ctr.CtrCod > 0) + WriteScope = true; break; case HieLvl_DEG: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_Degree, - Gbl.Hierarchy.Deg.ShrtName); + if (Gbl.Hierarchy.Deg.DegCod > 0) + WriteScope = true; break; case HieLvl_CRS: - HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, - Gbl.Scope.Current == Scope,false, - "%s: %s", - Txt_Course, - Gbl.Hierarchy.Crs.ShrtName); + if (Gbl.Hierarchy.Level == HieLvl_CRS) + WriteScope = true; break; default: Err_WrongScopeExit (); break; } + + if (WriteScope) + { + /***** Write allowed option *****/ + ScopeUnsigned = (unsigned) Scope; + switch (Scope) + { + case HieLvl_SYS: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_System, + Cfg_PLATFORM_SHORT_NAME); + break; + case HieLvl_CTY: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_Country, + Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]); + break; + case HieLvl_INS: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_Institution, + Gbl.Hierarchy.Ins.ShrtName); + break; + case HieLvl_CTR: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_Center, + Gbl.Hierarchy.Ctr.ShrtName); + break; + case HieLvl_DEG: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_Degree, + Gbl.Hierarchy.Deg.ShrtName); + break; + case HieLvl_CRS: + HTM_OPTION (HTM_Type_UNSIGNED,&ScopeUnsigned, + Gbl.Scope.Current == Scope,false, + "%s: %s", + Txt_Course, + Gbl.Hierarchy.Crs.ShrtName); + break; + default: + Err_WrongScopeExit (); + break; + } + } } - } HTM_SELECT_End (); } diff --git a/swad_scope.h b/swad_scope.h index a65321cb..4244af5d 100644 --- a/swad_scope.h +++ b/swad_scope.h @@ -32,14 +32,6 @@ #include "swad_hierarchy_level.h" #include "swad_HTML.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_search.c b/swad_search.c index f36da8f3..db22c281 100644 --- a/swad_search.c +++ b/swad_search.c @@ -45,10 +45,6 @@ #include "swad_user.h" #include "swad_user_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Private constants ****************************/ /*****************************************************************************/ @@ -56,20 +52,12 @@ #define Sch_MIN_LENGTH_LONGEST_WORD 3 #define Sch_MIN_LENGTH_TOTAL 6 // "An Ann" is not valid; "A An Ann" is valid -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_search.h b/swad_search.h index 22682104..50d622e1 100644 --- a/swad_search.h +++ b/swad_search.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 *****************************/ /*****************************************************************************/ diff --git a/swad_session.h b/swad_session.h index d3e03509..58b000b9 100644 --- a/swad_session.h +++ b/swad_session.h @@ -30,10 +30,6 @@ #include "swad_action.h" #include "swad_pagination.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_session_database.h b/swad_session_database.h index b6a4ac40..df90dbc7 100644 --- a/swad_session_database.h +++ b/swad_session_database.h @@ -29,10 +29,6 @@ #include "swad_pagination.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_setting.h b/swad_setting.h index 70a7b7b9..d5e956cc 100644 --- a/swad_setting.h +++ b/swad_setting.h @@ -43,10 +43,6 @@ typedef enum } Set_ShowUsrsType_t; #define Set_SHOW_USRS_TYPE_DEFAULT Set_USR_LIST_AS_CLASS_PHOTO -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_setting_database.c b/swad_setting_database.c index 0ab470af..86d26712 100644 --- a/swad_setting_database.c +++ b/swad_setting_database.c @@ -45,10 +45,6 @@ const char *Set_DB_StringsUsrListTypes[Set_NUM_USR_LIST_TYPES] = [Set_USR_LIST_AS_LISTING ] = "list", }; -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /**************** Update my language to the current language *****************/ /*****************************************************************************/ diff --git a/swad_setting_database.h b/swad_setting_database.h index 6732a35b..c88b3aa0 100644 --- a/swad_setting_database.h +++ b/swad_setting_database.h @@ -23,18 +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 ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_tab.h b/swad_tab.h index 8285dcd9..73f7e8d8 100644 --- a/swad_tab.h +++ b/swad_tab.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 ******************************/ /*****************************************************************************/ diff --git a/swad_tag.c b/swad_tag.c index 493a4816..1037d096 100644 --- a/swad_tag.c +++ b/swad_tag.c @@ -39,28 +39,12 @@ #include "swad_tag_database.h" #include "swad_theme.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_tag_database.c b/swad_tag_database.c index 5f24f2bb..12063a5a 100644 --- a/swad_tag_database.c +++ b/swad_tag_database.c @@ -30,32 +30,12 @@ #include "swad_tag.h" #include "swad_tag_database.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************* Insert new tag into tst_tags table ********************/ /*****************************************************************************/ diff --git a/swad_tag_database.h b/swad_tag_database.h index 78a7b3df..5a91e343 100644 --- a/swad_tag_database.h +++ b/swad_tag_database.h @@ -32,14 +32,6 @@ #include "swad_tag.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_template.c b/swad_template.c new file mode 100644 index 00000000..bd9032c9 --- /dev/null +++ b/swad_template.c @@ -0,0 +1,50 @@ +// swad_template.c: template source file + +/* + SWAD (Shared Workspace At a Distance), + is a web platform developed at the University of Granada (Spain), + and used to support university teaching. + + This file is part of SWAD core. + Copyright (C) 1999-2021 Antonio Caņas Vargas + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ +/*****************************************************************************/ +/*********************************** Headers *********************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/***************************** Public constants ******************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/**************************** Private constants ******************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/******************************* Private types *******************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/************** External global variables from others modules ****************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/************************* Private global variables **************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/***************************** Private prototypes ****************************/ +/*****************************************************************************/ diff --git a/swad_template.h b/swad_template.h new file mode 100644 index 00000000..4e17e5c3 --- /dev/null +++ b/swad_template.h @@ -0,0 +1,42 @@ +// swad_template.h: template header file + +#ifndef _SWAD_TPT +#define _SWAD_TPT +/* + SWAD (Shared Workspace At a Distance in Spanish), + is a web platform developed at the University of Granada (Spain), + and used to support university teaching. + + This file is part of SWAD core. + Copyright (C) 1999-2021 Antonio Caņas Vargas + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ +/*****************************************************************************/ +/********************************* Headers ***********************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/***************************** Public constants ******************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/******************************* Public types ********************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/***************************** Public prototypes *****************************/ +/*****************************************************************************/ + +#endif diff --git a/swad_test.c b/swad_test.c index 0e6312cb..4f545d31 100644 --- a/swad_test.c +++ b/swad_test.c @@ -65,28 +65,12 @@ #include "swad_user.h" #include "swad_xml.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_test_config.c b/swad_test_config.c index 35c8da08..6549e2db 100644 --- a/swad_test_config.c +++ b/swad_test_config.c @@ -39,18 +39,6 @@ #include "swad_test_config.h" #include "swad_test_database.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_test_database.c b/swad_test_database.c index 964b8f9f..2f577a4e 100644 --- a/swad_test_database.c +++ b/swad_test_database.c @@ -45,28 +45,12 @@ const char *Tst_DB_Pluggable[TstCfg_NUM_OPTIONS_PLUGGABLE] = [TstCfg_PLUGGABLE_YES ] = "Y", }; -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** Update my number of test prints in this course ***************/ /*****************************************************************************/ diff --git a/swad_test_database.h b/swad_test_database.h index c705033e..f7203c62 100644 --- a/swad_test_database.h +++ b/swad_test_database.h @@ -29,14 +29,6 @@ #include // To access MySQL databases -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Public types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/ diff --git a/swad_test_print.c b/swad_test_print.c index 0da05d94..e2f1ffb5 100644 --- a/swad_test_print.c +++ b/swad_test_print.c @@ -48,14 +48,6 @@ #include "swad_test_visibility.h" #include "swad_user.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Private types *******************************/ /*****************************************************************************/ @@ -72,10 +64,6 @@ struct TstRes_ICanView extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_test_print.h b/swad_test_print.h index f8030641..c048a43d 100644 --- a/swad_test_print.h +++ b/swad_test_print.h @@ -34,10 +34,6 @@ #include "swad_test_visibility.h" #include "swad_user.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_test_visibility.c b/swad_test_visibility.c index d708c838..165d4ccc 100644 --- a/swad_test_visibility.c +++ b/swad_test_visibility.c @@ -34,30 +34,6 @@ #include "swad_parameter.h" #include "swad_test_visibility.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/**************************** Private constants ******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************** External global variables from others modules ****************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Show visibility *****************************/ /*****************************************************************************/ diff --git a/swad_test_visibility.h b/swad_test_visibility.h index 10a3dcc9..78d84ab7 100644 --- a/swad_test_visibility.h +++ b/swad_test_visibility.h @@ -29,10 +29,6 @@ #include "swad_user.h" -/*****************************************************************************/ -/***************************** Public constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Public types ********************************/ /*****************************************************************************/ diff --git a/swad_theme.h b/swad_theme.h index 0cfe9e8c..a2f99c1a 100644 --- a/swad_theme.h +++ b/swad_theme.h @@ -23,9 +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 ******************************/ @@ -53,7 +50,6 @@ typedef enum /***************************** Public prototypes *****************************/ /*****************************************************************************/ -// void The_PutIconToChangeToNextTheme (void); void The_PutIconsToSelectTheme (void); void The_ChangeTheme (void); The_Theme_t The_GetParamTheme (void); diff --git a/swad_timeline.c b/swad_timeline.c index 4877b75b..c0545d83 100644 --- a/swad_timeline.c +++ b/swad_timeline.c @@ -140,24 +140,12 @@ mysql> SHOW TABLES LIKE 'tml_%'; #include "swad_timeline_publication.h" #include "swad_timeline_who.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_comment.c b/swad_timeline_comment.c index f4bcc229..7c4f0756 100644 --- a/swad_timeline_comment.c +++ b/swad_timeline_comment.c @@ -43,10 +43,6 @@ #include "swad_timeline_note.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Private constants and types ***********************/ /*****************************************************************************/ @@ -66,10 +62,6 @@ typedef enum extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_comment.h b/swad_timeline_comment.h index 5b4cf9d7..767c6ae4 100644 --- a/swad_timeline_comment.h +++ b/swad_timeline_comment.h @@ -30,10 +30,6 @@ #include "swad_timeline_note.h" #include "swad_timeline_post.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_timeline_database.c b/swad_timeline_database.c index baecfc48..52546bf6 100644 --- a/swad_timeline_database.c +++ b/swad_timeline_database.c @@ -34,10 +34,6 @@ #include "swad_timeline_database.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Private constants and types ***********************/ /*****************************************************************************/ @@ -67,10 +63,6 @@ static Tml_Pub_PubType_t Tml_DB_PubTypeFav[Tml_Usr_NUM_FAV_SHA] = extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_database.h b/swad_timeline_database.h index 52c1c053..166c7b1e 100644 --- a/swad_timeline_database.h +++ b/swad_timeline_database.h @@ -35,14 +35,6 @@ #include "swad_timeline_post.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_favourite.c b/swad_timeline_favourite.c index 11ca2d2d..804322fb 100644 --- a/swad_timeline_favourite.c +++ b/swad_timeline_favourite.c @@ -34,24 +34,12 @@ #include "swad_timeline_notification.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_favourite.h b/swad_timeline_favourite.h index b48c0728..01415578 100644 --- a/swad_timeline_favourite.h +++ b/swad_timeline_favourite.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_timeline_form.c b/swad_timeline_form.c index 1e2c2b41..31e19a3d 100644 --- a/swad_timeline_form.c +++ b/swad_timeline_form.c @@ -38,10 +38,6 @@ #include "swad_timeline_form.h" #include "swad_timeline_share.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Private constants and types ***********************/ /*****************************************************************************/ diff --git a/swad_timeline_form.h b/swad_timeline_form.h index 1496b787..dd64561f 100644 --- a/swad_timeline_form.h +++ b/swad_timeline_form.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 constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_timeline_note.c b/swad_timeline_note.c index 6141bbe8..ddfc589e 100644 --- a/swad_timeline_note.c +++ b/swad_timeline_note.c @@ -47,24 +47,12 @@ #include "swad_timeline_form.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_note.h b/swad_timeline_note.h index 476630ca..8c3c1e23 100644 --- a/swad_timeline_note.h +++ b/swad_timeline_note.h @@ -29,10 +29,6 @@ #include "swad_timeline.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_timeline_notification.c b/swad_timeline_notification.c index 7056f38f..6b23cfcd 100644 --- a/swad_timeline_notification.c +++ b/swad_timeline_notification.c @@ -37,28 +37,12 @@ #include "swad_timeline_post.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /*********** Create a notification for the author of a post/comment **********/ /*****************************************************************************/ diff --git a/swad_timeline_notification.h b/swad_timeline_notification.h index c16be355..50a8f5b3 100644 --- a/swad_timeline_notification.h +++ b/swad_timeline_notification.h @@ -29,14 +29,6 @@ #include "swad_notification.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_post.c b/swad_timeline_post.c index 98f29e54..95bf761c 100644 --- a/swad_timeline_post.c +++ b/swad_timeline_post.c @@ -38,10 +38,6 @@ #include "swad_timeline_post.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************************* Private constants and types ***********************/ /*****************************************************************************/ @@ -54,10 +50,6 @@ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_post.h b/swad_timeline_post.h index 8d116bc3..7a15edaf 100644 --- a/swad_timeline_post.h +++ b/swad_timeline_post.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 constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************** Public types *******************************/ /*****************************************************************************/ diff --git a/swad_timeline_publication.c b/swad_timeline_publication.c index 0135331e..eedfb511 100644 --- a/swad_timeline_publication.c +++ b/swad_timeline_publication.c @@ -39,24 +39,12 @@ #include "swad_timeline_note.h" #include "swad_timeline_publication.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_share.c b/swad_timeline_share.c index 3c138c05..80058b44 100644 --- a/swad_timeline_share.c +++ b/swad_timeline_share.c @@ -34,24 +34,12 @@ #include "swad_timeline_publication.h" #include "swad_timeline_share.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_share.h b/swad_timeline_share.h index e053f525..40f9cdea 100644 --- a/swad_timeline_share.h +++ b/swad_timeline_share.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 *****************************/ /*****************************************************************************/ @@ -34,10 +30,6 @@ #define Tml_Sha_ICON_SHARE "share-alt.svg" #define Tml_Sha_ICON_SHARED "share-alt-green.svg" -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_user.c b/swad_timeline_user.c index f3c87d00..73a4cb08 100644 --- a/swad_timeline_user.c +++ b/swad_timeline_user.c @@ -40,24 +40,12 @@ #include "swad_timeline_share.h" #include "swad_timeline_user.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timeline_who.c b/swad_timeline_who.c index 52633bab..b22fa659 100644 --- a/swad_timeline_who.c +++ b/swad_timeline_who.c @@ -34,14 +34,6 @@ #include "swad_timeline_database.h" #include "swad_timeline_who.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/************************* Private constants and types ***********************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ diff --git a/swad_timeline_who.h b/swad_timeline_who.h index f3f987ee..0c7e9b32 100644 --- a/swad_timeline_who.h +++ b/swad_timeline_who.h @@ -35,10 +35,6 @@ #define Tml_Who_DEFAULT_WHO Usr_WHO_FOLLOWED -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_timetable_database.c b/swad_timetable_database.c index 3dc922e7..fb47efb8 100644 --- a/swad_timetable_database.c +++ b/swad_timetable_database.c @@ -29,10 +29,6 @@ #include "swad_global.h" #include "swad_timetable_database.h" -/*****************************************************************************/ -/*************************** External constants ******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ @@ -51,14 +47,6 @@ const char *Tmt_DB_ClassType[Tmt_NUM_CLASS_TYPES] = [Tmt_TUTORING ] = "tutoring", }; -/*****************************************************************************/ -/************************** Private global variables *************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ***************************/ -/*****************************************************************************/ - /*****************************************************************************/ /********************* Insert class in course timetable **********************/ /*****************************************************************************/ diff --git a/swad_timetable_database.h b/swad_timetable_database.h index e6633e20..6a3a8d32 100644 --- a/swad_timetable_database.h +++ b/swad_timetable_database.h @@ -31,10 +31,6 @@ #include "swad_timetable.h" -/*****************************************************************************/ -/************************* Public constants and types ************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_user_database.c b/swad_user_database.c index 1453be49..e43f5bac 100644 --- a/swad_user_database.c +++ b/swad_user_database.c @@ -30,32 +30,12 @@ #include "swad_global.h" #include "swad_user_database.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Private types ********************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/****************************** Private variables ****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/***************************** Private prototypes ****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /******************************* Update my office ****************************/ /*****************************************************************************/ diff --git a/swad_user_database.h b/swad_user_database.h index ce5e55dd..13f5234f 100644 --- a/swad_user_database.h +++ b/swad_user_database.h @@ -34,14 +34,6 @@ #include "swad_cryptography.h" #include "swad_search.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/******************************** Public types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /****************************** Public prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_zip.c b/swad_zip.c index c3625ad0..81fe85de 100644 --- a/swad_zip.c +++ b/swad_zip.c @@ -49,10 +49,6 @@ #include "swad_string.h" #include "swad_theme.h" -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ @@ -60,20 +56,12 @@ #define ZIP_MiB (1024ULL * 1024ULL) #define ZIP_MAX_SIZE_UNCOMPRESSED (1024ULL * ZIP_MiB) -/*****************************************************************************/ -/******************************* Private types *******************************/ -/*****************************************************************************/ - /*****************************************************************************/ /************** External global variables from others modules ****************/ /*****************************************************************************/ extern struct Globals Gbl; -/*****************************************************************************/ -/************************* Private global variables **************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Private prototypes ****************************/ /*****************************************************************************/ diff --git a/swad_zip.h b/swad_zip.h index 3abf363b..17584b03 100644 --- a/swad_zip.h +++ b/swad_zip.h @@ -23,18 +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 ********************************/ -/*****************************************************************************/ - -/*****************************************************************************/ -/****************************** Public constants *****************************/ -/*****************************************************************************/ - /*****************************************************************************/ /***************************** Public prototypes *****************************/ /*****************************************************************************/