diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a62e378d102c9f01ea9ac70dc916809e7704397d..8783eb00070bac90d04af96fce5fc40a63f6cbe5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-23  Uros Bizjak <uros@kss-loka.si>
+
+	* config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
+
 2006-09-23  Jakub Jelinek  <jakub@redhat.com>
 
 	PR c/28706
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 979a6a5025dc1be14e2c892ba06e57ecbc798a38..6767997a091d446649bb84d1da5a1ebf37991322 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -22,6 +22,8 @@ Boston, MA 02110-1301, USA.  */
 #include "system.h"
 #include <stdlib.h>
 
+const char *host_detect_local_cpu (int argc, const char **argv);
+
 #ifdef GCC_VERSION
 #define cpuid(num,a,b,c,d) \
   asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \