1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Added extern to all function prototypes.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@10 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
gussy 2009-11-28 17:42:53 +00:00 committed by gussy
parent 25f153a680
commit 99985d017e
4 changed files with 12 additions and 12 deletions

View File

@ -32,9 +32,9 @@
typedef enum {LED1 = 0, LED2 = 1} Led_TypeDef; typedef enum {LED1 = 0, LED2 = 1} Led_TypeDef;
/* Exported Functions */ /* Exported Functions */
void LED_INIT(void); extern void LED_INIT(void);
void LED_ON(Led_TypeDef LEDNum); extern void LED_ON(Led_TypeDef LEDNum);
void LED_OFF(Led_TypeDef LEDNum); extern void LED_OFF(Led_TypeDef LEDNum);
void LED_TOGGLE(Led_TypeDef LEDNum); extern void LED_TOGGLE(Led_TypeDef LEDNum);
#endif /* PIOS_LED_H */ #endif /* PIOS_LED_H */

View File

@ -61,6 +61,6 @@ typedef struct {
extern SettingsTypeDef Settings; extern SettingsTypeDef Settings;
/* Function Prototypes */ /* Function Prototypes */
void LoadSettings(void); extern void LoadSettings(void);
#endif /* PIOS_SETTINGS_H */ #endif /* PIOS_SETTINGS_H */

View File

@ -29,8 +29,8 @@
#define PIOS_SYS_H #define PIOS_SYS_H
/* Exported Functions */ /* Exported Functions */
void SysInit(void); extern void SysInit(void);
void GPIO_Configuration(void); extern void GPIO_Configuration(void);
void NVIC_Configuration(void); extern void NVIC_Configuration(void);
#endif /* PIOS_SYS_H */ #endif /* PIOS_SYS_H */

View File

@ -29,9 +29,9 @@
#define PIOS_UART_H #define PIOS_UART_H
/* Function Prototypes */ /* Function Prototypes */
void UARTInit(void); extern void UARTInit(void);
void EnableAuxUART(void); extern void EnableAuxUART(void);
void DisableAuxUART(void); extern void DisableAuxUART(void);
void UARTChangeBaud(USART_TypeDef* USARTx, uint32_t Baud); extern void UARTChangeBaud(USART_TypeDef* USARTx, uint32_t Baud);
#endif /* PIOS_UART_H */ #endif /* PIOS_UART_H */