Move runops_foo prototypes from proto.h to early in perl.h.
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Wed, 1 Oct 1997 17:03:34 +0000 (17:03 +0000)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Wed, 1 Oct 1997 17:03:34 +0000 (17:03 +0000)
p4raw-id: //depot/perl@87

perl.h
proto.h

diff --git a/perl.h b/perl.h
index 21bd42f..5080c1b 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -1322,6 +1322,16 @@ typedef Sighandler_t Sigsave_t;
 # define RUNOPS_DEFAULT runops_standard
 #endif
 
+/*
+ * These need prototyping here because <proto.h> isn't
+ * included until after runops is initialised.
+ */
+
+int runops_standard _((void));
+#ifdef DEBUGGING
+int runops_debug _((void));
+#endif
+
 /****************/
 /* Truly global */
 /****************/
diff --git a/proto.h b/proto.h
index 9950497..866e754 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -399,10 +399,6 @@ Sighandler_t rsignal _((int, Sighandler_t));
 int    rsignal_restore _((int, Sigsave_t*));
 int    rsignal_save _((int, Sighandler_t, Sigsave_t*));
 Sighandler_t rsignal_state _((int));
-int    runops_standard _((void));
-#ifdef DEBUGGING
-int    runops_debug _((void));
-#endif
 void   rxres_free _((void** rsp));
 void   rxres_restore _((void** rsp, REGEXP* rx));
 void   rxres_save _((void** rsp, REGEXP* rx));