diff --git a/bin/fake_dynamic_load.pike b/bin/fake_dynamic_load.pike
index cf44274709e3f0380797a6bb186e7065799a215a..1c0fd85f39d527fd63b75cac2abf2bc506a2a705 100755
--- a/bin/fake_dynamic_load.pike
+++ b/bin/fake_dynamic_load.pike
@@ -478,10 +478,6 @@ int main(int argc, array(string) argv)
       ret+=sprintf("  (void *)& %s,\n",expr->name,expr->name);
     ret+="0 };\n\n";
     
-    /* Fixme: touch module_magic.h if we need to
-     * recompile all the modules.
-     */
-    
     Stdio.write_file("export_functions.c",ret);
     
     ret="PMOD_EXPORT extern void **PikeSymbol;\n";
diff --git a/src/MANIFEST b/src/MANIFEST
index 3ee71764cce42d4094521395c98c6861c455b9ce..0b4fda9810f7e6c0fd03eff8656ec76c401d3143 100644
--- a/src/MANIFEST
+++ b/src/MANIFEST
@@ -321,10 +321,6 @@ Module system
     Maintain the entry and exit hooks for the statically compiled
     modules.
 
-  module_magic.h
-    Compatibility header for old modules that don't use
-    PIKE_MODULE_INIT and PIKE_MODULE_EXIT.
-
   module_support.c
   module_support.h
     Tools for importing and exporting symbols between modules. Also
diff --git a/src/modules/_WhiteFish/whitefish.c b/src/modules/_WhiteFish/whitefish.c
index 0f020a4ebdb4cb73ded08f5f12e2df4c8dc0a73d..a808522fc31473d0b9525c2c24a59ff5526ffb39 100644
--- a/src/modules/_WhiteFish/whitefish.c
+++ b/src/modules/_WhiteFish/whitefish.c
@@ -19,15 +19,6 @@
 #include "blobs.h"
 #include "linkfarm.h"
 
-/* 7.2 compatibility stuff. */
-
-#ifndef PIKE_MODULE_INIT
-/* must be included last */
-#include "module_magic.h"
-#define PIKE_MODULE_INIT void pike_module_init(void)
-#define PIKE_MODULE_EXIT void pike_module_exit(void)
-#endif
-
 struct  tofree
 {
   Blob **blobs;
diff --git a/src/post_modules/GTK1/dependencies b/src/post_modules/GTK1/dependencies
index d0737c4bcc1cbccbace4709626bf4575359149b2..6dc47c5f28aea78d0f3577f46f2ff8d9e7d31ee5 100644
--- a/src/post_modules/GTK1/dependencies
+++ b/src/post_modules/GTK1/dependencies
@@ -3,5 +3,4 @@ dummy.o: $(SRCDIR)/dummy.c \
  $(BUILD_BASE)/machine.h \
  $(PIKE_SRC_DIR)/port.h \
  $(PIKE_SRC_DIR)/dmalloc.h \
- pgtk_config.h \
- $(PIKE_SRC_DIR)/module_magic.h
+ pgtk_config.h