mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
* Clang 16 (and likely GCC 14) will enforce strict C99 semantics and break old K&R C declarations and require correct C89 function prototypes. Bug: https://bugs.gentoo.org/870952 Clang: https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213/9
22 lines
421 B
C
22 lines
421 B
C
/* block-level tags for passing html5 blocks through the blender
|
|
*/
|
|
#include "tags.h"
|
|
|
|
void
|
|
mkd_with_html5_tags(void)
|
|
{
|
|
static int populated = 0;
|
|
|
|
if ( populated ) return;
|
|
populated = 1;
|
|
|
|
mkd_define_tag("ASIDE", 0);
|
|
mkd_define_tag("FOOTER", 0);
|
|
mkd_define_tag("HEADER", 0);
|
|
mkd_define_tag("NAV", 0);
|
|
mkd_define_tag("SECTION", 0);
|
|
mkd_define_tag("ARTICLE", 0);
|
|
|
|
mkd_sort_tags();
|
|
}
|