|
From: | André |
Subject: | [avr-libc-dev] [bug #30783] Missing prototype in power.h |
Date: | Sun, 15 Aug 2010 22:33:50 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 |
URL: <http://savannah.nongnu.org/bugs/?30783> Summary: Missing prototype in power.h Project: AVR C Runtime Library Submitted by: nomanor Submitted on: So 15 Aug 2010 22:33:50 GMT Category: Header Severity: 3 - Normal Priority: 5 - Normal Item Group: Header files Status: None Percent Complete: 0% Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 1.7.0 Fixed Release: None _______________________________________________________ Details: At the end of power.h the prototype for clock_prescale_set is missing for ATtiny24 and other tinys. In the #if block for the ATmegas is this protoype: static __inline__ void clock_prescale_set(clock_div_t) __attribute__((__always_inline__)); which is missing for the tinys and gives a multiple definitions error when compiling. The above prototype has to be inserted around line 1489 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: So 15 Aug 2010 22:33:50 GMT Name: power.h Size: 61kB By: nomanor power.h with added protopye <http://savannah.nongnu.org/bugs/download.php?file_id=21228> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?30783> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |