Add C linkage declaration for C++ usage

This commit is contained in:
Nicolas Schodet
2012-09-02 17:12:58 +02:00
parent 11727f56c9
commit 3aab6220d8
41 changed files with 173 additions and 0 deletions

View File

@@ -132,7 +132,11 @@
/* Overall interrupt status */
#define GPIO_IS MMIO32(GPIOINTERRPUT_BASE + 0x80)
BEGIN_DECLS
void gpio_set(u32 gpioport, u32 gpios);
void gpio_clear(u32 gpioport, u32 gpios);
END_DECLS
#endif