+#include "d0.h"
+
/*
* include the license notice into the dynamic library to "reproduce the
* copyright notice" automatically, so the application developer does not have
* to care about this term
*/
-const char *d0_bsd_license_notice = "\n"
+const char *d0_bsd_license_notice D0_USED = "\n"
"/*\n"
" * FILE: d0.c\n"
" * AUTHOR: Rudolf Polzer - divVerent@xonotic.org\n"
" * $Id$\n"
" */\n";
-#include "d0.h"
-
#include <stdlib.h>
//#define MUTEX_DEBUG
#include <unistd.h> // size_t
#define D0_EXPORT __attribute__((__visibility__("default")))
+#define D0_USED __attribute__((used))
#define D0_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define D0_BOOL int
+#include "d0.h"
+
/*
* include the license notice into the dynamic library to "reproduce the
* copyright notice" automatically, so the application developer does not have
* to care about this term
*/
-const char *d0_sha2_c_bsd_license_notice = "\n"
+const char *d0_sha2_c_bsd_license_notice D0_USED = "\n"
"/*\n"
" * FILE: sha2.c\n"
" * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/\n"