drivers: Warning fixes

This commit is contained in:
Lorenz Meier
2014-06-30 12:20:02 +02:00
parent ee8f4dcee6
commit 35cd487a42
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -99,7 +99,7 @@
* CONFIG_ARCH_LEDS configuration switch. * CONFIG_ARCH_LEDS configuration switch.
*/ */
__BEGIN_DECLS __BEGIN_DECLS
extern void led_init(); extern void led_init(void);
extern void led_on(int led); extern void led_on(int led);
extern void led_off(int led); extern void led_off(int led);
__END_DECLS __END_DECLS
+2 -2
View File
@@ -54,13 +54,13 @@
* CONFIG_ARCH_LEDS configuration switch. * CONFIG_ARCH_LEDS configuration switch.
*/ */
__BEGIN_DECLS __BEGIN_DECLS
extern void led_init(); extern void led_init(void);
extern void led_on(int led); extern void led_on(int led);
extern void led_off(int led); extern void led_off(int led);
extern void led_toggle(int led); extern void led_toggle(int led);
__END_DECLS __END_DECLS
__EXPORT void led_init() __EXPORT void led_init(void)
{ {
/* Configure LED1-2 GPIOs for output */ /* Configure LED1-2 GPIOs for output */