libgcc2.c (num_digits): Add prototype with __attribute__((const)).
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 23 Sep 1999 13:37:49 +0000 (13:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 23 Sep 1999 13:37:49 +0000 (07:37 -0600)
        * libgcc2.c (num_digits): Add prototype with
        __attribute__((const)).
        (__terminate): Add prototype.

From-SVN: r29616

gcc/ChangeLog
gcc/libgcc2.c

index 1896e349505f9d7cce61399b94ecb0f58cd97da8..97c15b35553d438e30403ce9716ea200b15c396e 100644 (file)
@@ -1,3 +1,9 @@
+Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * libgcc2.c (num_digits): Add prototype with 
+       __attribute__((const)).
+       (__terminate): Add prototype.
+
 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
 
        * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
index 6e1742ee6d53d0de1dd6e75a3160edc6f3201bcd..aa8839be00da2711bdeaa0b180aff8fc0055878d 100644 (file)
@@ -1457,6 +1457,8 @@ char *ctime ();
 
 static struct bb *bb_head;
 
+static int num_digits (long value, int base) __attribute__ ((const));
+
 /* Return the number of digits needed to print a value */
 /* __inline__ */ static int num_digits (long value, int base)
 {
@@ -3975,6 +3977,8 @@ label:
 
 #define MESSAGE "pure virtual method called\n"
 
+extern void __terminate (void) __attribute__ ((__noreturn__));
+
 void
 __pure_virtual ()
 {