Moved db_end_line after db_printf to eliminate forward reference and
authorRod Grimes <rgrimes@FreeBSD.org>
Thu, 9 Sep 1993 23:03:24 +0000 (23:03 +0000)
committerRod Grimes <rgrimes@FreeBSD.org>
Thu, 9 Sep 1993 23:03:24 +0000 (23:03 +0000)
shut up the compiler about prototype mismatch.

sys/ddb/db_output.c

index 82c7ce3..90c4903 100644 (file)
 /*
  * HISTORY
  * $Log: db_output.c,v $
 /*
  * HISTORY
  * $Log: db_output.c,v $
+ * Revision 1.2  1993/07/27  10:52:00  davidg
+ * * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading,
+ *   profiling, and various protection checks that cause security holes
+ *   and system crashes.
+ * * Changed min/max/bcmp/ffs/strlen to be static inline functions
+ *   - included from cpufunc.h in via systm.h. This change
+ *   improves performance in many parts of the kernel - up to 5% in the
+ *   networking layer alone. Note that this requires systm.h to be included
+ *   in any file that uses these functions otherwise it won't be able to
+ *   find them during the load.
+ * * Fixed incorrect call to splx() in if_is.c
+ * * Fixed bogus variable assignment to splx() in if_ed.c
+ *
  * Revision 1.1.1.1  1993/06/12  14:57:37  rgrimes
  * Initial import, 0.1 + pk 0.2.4-B1
  *
  * Revision 1.1.1.1  1993/06/12  14:57:37  rgrimes
  * Initial import, 0.1 + pk 0.2.4-B1
  *
@@ -160,16 +173,6 @@ db_print_position()
        return (db_output_position);
 }
 
        return (db_output_position);
 }
 
-/*
- * End line if too long.
- */
-void
-db_end_line()
-{
-       if (db_output_position >= db_max_width)
-           db_printf("\n");
-}
-
 /*
  * Printing
  */
 /*
  * Printing
  */
@@ -195,6 +198,16 @@ kdbprintf(char *fmt, ...)
        va_end(listp);
 }
 
        va_end(listp);
 }
 
+/*
+ * End line if too long.
+ */
+void
+db_end_line()
+{
+       if (db_output_position >= db_max_width)
+           db_printf("\n");
+}
+
 /*
  * Put a number (base <= 16) in a buffer in reverse order; return an
  * optional length and a pointer to the NULL terminated (preceded?)
 /*
  * Put a number (base <= 16) in a buffer in reverse order; return an
  * optional length and a pointer to the NULL terminated (preceded?)