comparison src/highlight.c @ 32009:4545f58c8490 v9.0.1336

patch 9.0.1336: functions without arguments are not always declared properly Commit: https://github.com/vim/vim/commit/a23a11b5bf03454b71fdb5deac0d5f641e222160 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Feb 21 14:27:41 2023 +0000 patch 9.0.1336: functions without arguments are not always declared properly Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/12031)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Feb 2023 15:30:08 +0100
parents b89cfd86e18e
children 059e89bf9316
comparison
equal deleted inserted replaced
32008:6b51ad8c5e8e 32009:4545f58c8490
467 /* 467 /*
468 * Load a default color list. Intended to support legacy color names but allows 468 * Load a default color list. Intended to support legacy color names but allows
469 * the user to override the color values. Only loaded once. 469 * the user to override the color values. Only loaded once.
470 */ 470 */
471 static void 471 static void
472 load_default_colors_lists() 472 load_default_colors_lists(void)
473 { 473 {
474 // Lacking a default color list isn't the end of the world but it is likely 474 // Lacking a default color list isn't the end of the world but it is likely
475 // an inconvenience so users should know when it is missing. 475 // an inconvenience so users should know when it is missing.
476 if (source_runtime((char_u *)"colors/lists/default.vim", DIP_ALL) != OK) 476 if (source_runtime((char_u *)"colors/lists/default.vim", DIP_ALL) != OK)
477 msg("failed to load colors/lists/default.vim"); 477 msg("failed to load colors/lists/default.vim");