Upgrade DB_File to 1.56:
[p5sagit/p5-mst-13.2.git] / run.c
diff --git a/run.c b/run.c
index 87633d1..7922bfd 100644 (file)
--- a/run.c
+++ b/run.c
  * know.  Run now!  Hope is in speed!"  --Gandalf
  */
 
-dEXT char **watchaddr = 0;
-dEXT char *watchok;
 
 int
-runops_standard() {
+runops_standard(void) {
     dTHR;
 
     while ( op = (*op->op_ppaddr)(ARGS) ) ;
@@ -30,10 +28,14 @@ runops_standard() {
 }
 
 #ifdef DEBUGGING
+
+dEXT char **watchaddr = 0;
+dEXT char *watchok;
+
 static void debprof _((OP*o));
 
 int
-runops_debug() {
+runops_debug(void) {
     dTHR;
     if (!op) {
        warn("NULL OP IN RUN");
@@ -56,8 +58,7 @@ runops_debug() {
 }
 
 I32
-debop(o)
-OP *o;
+debop(OP *o)
 {
     SV *sv;
     deb("%s", op_name[o->op_type]);
@@ -84,8 +85,7 @@ OP *o;
 }
 
 void
-watch(addr)
-char **addr;
+watch(char **addr)
 {
     watchaddr = addr;
     watchok = *addr;
@@ -94,8 +94,7 @@ char **addr;
 }
 
 static void
-debprof(o)
-OP* o;
+debprof(OP *o)
 {
     if (!profiledata)
        New(000, profiledata, MAXO, U32);
@@ -103,7 +102,7 @@ OP* o;
 }
 
 void
-debprofdump()
+debprofdump(void)
 {
     unsigned i;
     if (!profiledata)
@@ -115,5 +114,5 @@ debprofdump()
     }
 }
 
-#endif
+#endif /* DEBUGGING */