<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Warning:no previous prototype for function &amp;#39;delay&amp;#39;</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/47620/warning-no-previous-prototype-for-function-delay</link><description> Why am I getting this warning ?? 
 
 #include &amp;quot;stm32f0xx.h&amp;quot; // Device header 
 void delay() { for (int i=0;i&amp;lt;100000;i++); } int main() { RCC-&amp;gt;AHBENR |= RCC_AHBENR_GPIOAEN; GPIOA-&amp;gt;MODER |= GPIO_MODER_MODER5_0; while(1) { GPIOA-&amp;gt;BSRR |= GPIO_BSRR_BS_5;</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Warning:no previous prototype for function 'delay'</title><link>https://community.arm.com/thread/167465?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 08:40:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:de17a6c6-b610-4617-ab3c-a526abd1c8da</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/471/8255._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warning:no previous prototype for function 'delay'</title><link>https://community.arm.com/thread/167458?ContentTypeID=1</link><pubDate>Sat, 12 Sep 2020 18:45:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e98bf510-a5f9-4f12-9393-5e71632b13d8</guid><dc:creator>Broeker</dc:creator><description>&lt;p&gt;For exactly the reason stated in the message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>