From 8f60d8ed0cb0609729c011c7229f70b68d4d10e7 Mon Sep 17 00:00:00 2001 From: Martin Nilsson <nilsson@opera.com> Date: Sat, 23 Aug 2014 17:18:28 +0200 Subject: [PATCH] This started giving deprecation errors 11 years ago. --- src/module_magic.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/module_magic.h diff --git a/src/module_magic.h b/src/module_magic.h deleted file mode 100644 index 30dbc3cc1b..0000000000 --- a/src/module_magic.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -|| This file is part of Pike. For copyright information see COPYRIGHT. -|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING -|| for more information. -*/ - -#ifndef MODULE_MAGIC_H -#define MODULE_MAGIC_H - -#include "module.h" - -/* NB: use of module_magic is deprecated. - Please use the PIKE_MODULE_INIT/PIKE_MODULE_EXIT macros - directly in new code. */ - - -#ifndef ALLOW_DEPRECATED_MODULE_MAGIC - -/* To get rid of the following message, define ALLOW_DEPRECATED_MODULE_MAGIC. - This option is a transitional measure and may be removed at some - future time. Please update your code to use PIKE_MODULE_INIT/ - PIKE_MODULE_EXIT instead. */ - -#error module_magic.h is deprecated. Please read the header file for details. - -#endif /* ALLOW_DEPRECATED_MODULE_MAGIC */ - - -#ifdef DYNAMIC_MODULE -#define pike_module_init(X) mYDummyFunctioN1(void); PIKE_MODULE_INIT -#define pike_module_exit(X) mYDummyFunctioN2(void); PIKE_MODULE_EXIT -#endif /* DYNAMIC_MODULE */ - -#endif /* MODULE_MAGIC_H */ -- GitLab