Warning, file /education/cantor/thirdparty/discount-2.2.6-patched/setup.c was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* markdown: a C implementation of John Gruber's Markdown markup language.
0002  *
0003  * Copyright (C) 2007 David L Parsons.
0004  * The redistribution terms are provided in the COPYRIGHT file that must
0005  * be distributed with this source code.
0006  */
0007 #include "config.h"
0008 
0009 #include <stdio.h>
0010 #include <string.h>
0011 #include <stdarg.h>
0012 #include <stdlib.h>
0013 #include <time.h>
0014 #include <ctype.h>
0015 
0016 #include "cstring.h"
0017 #include "markdown.h"
0018 #include "amalloc.h"
0019 #include "tags.h"
0020     
0021 static int need_to_initrng = 1;
0022 
0023 void
0024 mkd_initialize()
0025 {
0026 
0027     if ( need_to_initrng ) {
0028     need_to_initrng = 0;
0029     INITRNG(time(0));
0030     }
0031 }
0032 
0033 
0034 void DESTRUCTOR
0035 mkd_shlib_destructor()
0036 {
0037     mkd_deallocate_tags();
0038 }
0039