]> de.git.xonotic.org Git - xonotic/d0_blind_id.git/blob - d0.c
work around missing BN_*_negative on Crap OS X
[xonotic/d0_blind_id.git] / d0.c
1 /*
2  * include the license notice into the dynamic library to "reproduce the
3  * copyright notice" automatically, so the application developer does not have
4  * to care about this term
5  */
6 const char *d0_bsd_license_notice = "\n"
7 "/*\n"
8 " * FILE:       d0.c\n"
9 " * AUTHOR:     Rudolf Polzer - divVerent@xonotic.org\n"
10 " * \n"
11 " * Copyright (c) 2010, Rudolf Polzer\n"
12 " * All rights reserved.\n"
13 " *\n"
14 " * Redistribution and use in source and binary forms, with or without\n"
15 " * modification, are permitted provided that the following conditions\n"
16 " * are met:\n"
17 " * 1. Redistributions of source code must retain the above copyright\n"
18 " *    notice, this list of conditions and the following disclaimer.\n"
19 " * 2. Redistributions in binary form must reproduce the above copyright\n"
20 " *    notice, this list of conditions and the following disclaimer in the\n"
21 " *    documentation and/or other materials provided with the distribution.\n"
22 " * 3. Neither the name of the copyright holder nor the names of contributors\n"
23 " *    may be used to endorse or promote products derived from this software\n"
24 " *    without specific prior written permission.\n"
25 " * \n"
26 " * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND\n"
27 " * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n"
28 " * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n"
29 " * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE\n"
30 " * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n"
31 " * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n"
32 " * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n"
33 " * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n"
34 " * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n"
35 " * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n"
36 " * SUCH DAMAGE.\n"
37 " *\n"
38 " * $Format:commit %H$\n"
39 " * $Id$\n"
40 " */\n";
41
42 #include "d0.h"
43
44 #include <stdlib.h>
45
46 void *(*d0_malloc)(size_t len) = malloc;
47 void (*d0_free)(void *p) = free;