[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[uracoli-devel] [bug #30194] warning: useless type name in empty declara
From: |
Joerg Wunsch |
Subject: |
[uracoli-devel] [bug #30194] warning: useless type name in empty declaration |
Date: |
Tue, 22 Jun 2010 07:04:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 |
Follow-up Comment #3, bug #30194 (project uracoli):
A dummy module would be one option.
After understanding a bit better what it's supposed to do (I
didn't figure it out by the time I wrote the bugreport), I
think it's sufficient to just have
#if HIF_TYPE != HIF_NONE || defined DOXYGEN
void hif_init(const uint32_t baudrate);
#endif
in the header file. So, if someone calls hif_init() in the
HIF_NONE case, he'll catch the empty macro, while anyone
else sees the real prototype.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30194>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/